DescriptionObject.observe: use JSWeakMaps instead of raw ObjectHashTables in observation state
object-observe.js uses weak maps to add "hidden" properties to
objects. Previously, the hash tables it was using weren't actually
weak. This patch changes the existing runtime functions to create
instances of JSWeakMap instead of exposing ObjectHashTable directly.
Committed: https://code.google.com/p/v8/source/detail?r=13591
Patch Set 1 #Patch Set 2 : Linted #Patch Set 3 : Share more WeakMap runtime code #Patch Set 4 : Added (failing) test #Patch Set 5 : Fix test, also test notifierTargetMap #
Messages
Total messages: 7 (0 generated)
|