History log of /dalvik/vm/Intern.cpp
Revision Date Author Comments
4e738a719ef872cce9a99f539dd18394f94790fe 10-May-2011 Carl Shapiro <cshapiro@google.com> Remove an invalid assertion.

There are three situtations where insertions are performed into one of
the intern tables. Two cases perform an insertion when an key value
pair is known to be absent. One case performs an insert when a key
value pair might be present. An assertion was added that errantly
checked that an insertion occured in the might be present case. This
change leaves an assert in place for the absent cases and removes the
assert in the might be present case.

In addition, a comment has been improved to reinforce the condition of
the might be present insertion.

Change-Id: I84a9090a9ca338e164898e1d6893b2a23d74f5bc
dc9e44cc0af797679822484d88ef76bff15ffc98 06-May-2011 Carl Shapiro <cshapiro@google.com> Make interned strings non-movable.

At present objects referenced from dex files must have stable reference
values. With this change, only non-moving strings are interned. If a
user interns a movable string a non-moving copy is made and the copy is
added to the intern table.

As part of this change, the internal string hash code access routine will
update the hash code slot of a string object. In addition, StringObject
has been made a subclass of Object eliminating various down-casts that
would otherwise be explicitly required.

Change-Id: I6b015b972aac44948470c0034ad17e5eef456aeb
1e1433e78f560a01744e870c19c162ab88df9dc1 21-Apr-2011 Carl Shapiro <cshapiro@google.com> Remove unneeded void argument list declarations.

Change-Id: Ica749f6defa890363ec531b29e25bc415dc2cbb9
d5c36b9040bd26a81219a7f399513526f9b46324 16-Apr-2011 Carl Shapiro <cshapiro@google.com> Move the remaining non-compiler VM code into C++.

Change-Id: Id8693208d2741c55a7b0474d1264f2112019d11f