Reviewers: jochen (slow), Michael Starzinger, rossberg, dcarney,

Message:
This patch is a reworked version of r26425. It was modified in accord with
dcarney's comments. Instead of embedding UniquePersistent field NativeWeakMap
has been turned into a heap object. This should vanish MSVS warning.

Also applied mstarzinger's r26428.

Description:
Add NativeWeakMap to v8.h

A new map wich references its keys weakly is added to v8.h. Internally it uses
the same storage as JSWeakMap but doesn't depend on the JavaScript part of
WeakMap implementation in weak-collection.js, hence it can be instantiated
without entering any context.

BUG=chromium:437416
LOG=Y

Please review this at https://codereview.chromium.org/900123003/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+258, -61 lines):
  M include/v8.h
  M src/api.h
  M src/api.cc
  M src/factory.h
  M src/factory.cc
  M src/runtime/runtime.h
  M src/runtime/runtime-collections.cc
  M test/cctest/test-api.cc
  M test/cctest/test-weakmaps.cc
  M test/cctest/test-weaksets.cc


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to