On 2 November 2013 12:24, Niko Matsakis <[email protected]> wrote: > The Java VM (where G1 was developed) supports weak refs. Any idea what is > different there or how they managed it?
Java does not have WeakMap. Weak references, despite their expose-GC-to-the-world semantics, are much easier to implement. WeakMap is really complexity and correctness evil. _______________________________________________ dev-tech-js-engine-internals mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

