DescriptionStore Object.observe state per-isolate rather than per-context
This requires adding a new JSObject to the strong root list and populating it from
object-observe.js. The main other change is that we now directly use ObjectHashTable
from JS rather than using WeakMap, since using the latter would end up leaking whichever
Context initialized that observation state.
Added a test via the API showing that different contexts all end up working on the same state.
Committed: https://code.google.com/p/v8/source/detail?r=12873
Patch Set 1 #
Total comments: 2
Patch Set 2 : Restructured #Patch Set 3 : Renaming #Patch Set 4 : Added test #Patch Set 5 : Merged #Patch Set 6 : More tests #
Total comments: 1
Patch Set 7 : Use ObjectHashTable directly #
Total comments: 2
Patch Set 8 : Simplified #
Total comments: 10
Patch Set 9 : Added back runtime asserts #
Messages
Total messages: 11 (0 generated)
|