| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Change-Id: Ica749f6defa890363ec531b29e25bc415dc2cbb9
|
|
|
Change-Id: Id8693208d2741c55a7b0474d1264f2112019d11f
|