aboutsummaryrefslogtreecommitdiff
path: root/vm/Intern.h
Commit message (Collapse)AuthorAgeFilesLines
* Normalize the include guard style.Carl Shapiro2011-06-141-3/+3
| | | | | | | | | | An leading underscore followed by a capital letter is a reserved name space in C and C++. This change also moves any #include directives within the include guard in some of the compiler/codegen/arm header files. Change-Id: I9715e2c5301699d31886e61d0fe6e29483555a2a
* Make interned strings non-movable.Carl Shapiro2011-05-051-1/+1
| | | | | | | | | | | | | | 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
* Eliminate the GC.h header file.Carl Shapiro2010-12-021-0/+1
| | | | Change-Id: Ieda8b819032fc6aac80b390960d9c6f4864795ab
* Implement card table verification.Carl Shapiro2010-08-091-1/+1
| | | | | | | | | | | | | | | | Card table verification occurs just before scanning the card table during a concurrent GC. Each object in the bitmap is visited and the number of white (unmarked) references are counted. If an object has unmarked objects it is by definition gray and must reside on a dirty card. If the object is not on a dirty card, the verification routine aborts the VM. Because the processing of weak roots and references has yet to occur, reachable reference objects with unmarked referents and weak interned strings may still be gray. These objects are checked during the card table scan and ignored if their card is not dirty. Change-Id: I64d145aa4719fb52eb9e3bb91efaf4dcfacd6e0c
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+28
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-28/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+28