Description- switch CleanupReference to have a reaper thread rather than sacrificial object, as the
old design was causing many spurious messages to be sent to the UI thread.
- CleanupReference now triggers when GC sees the object has become weakly rather than
phantom reachable, as this can occur earlier but if sufficient for knowing we must
perform native cleanup.
- added some basic GC cleanup tests in CleanupReferenceTest.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190110
Patch Set 1 #Patch Set 2 : now passes #Patch Set 3 : broken #Patch Set 4 : tests pass! #Patch Set 5 : simplified #
Total comments: 4
Patch Set 6 : track aw_contents instances rather than CleanupReferences #Patch Set 7 : fix private #Patch Set 8 : added CleanupReferenceTest #Patch Set 9 : rfix (c) #
Total comments: 2
Patch Set 10 : kristian comment #Patch Set 11 : <3 findbugs #
Messages
Total messages: 11 (0 generated)
|