Go to file
adamk@chromium.org 70c3a714a1 ES6 Map/Set iterators/forEach improvements
This changes how Map/Set interacts with its iterators. When the
underlying table is rehashed or cleared, we create a new table (like
before) but we add a reference from the old table to the new table. We
also add an array describing how to transition the iterator from the
old table to the new table.

When Next is called on the iterator it checks if there is a newer table
that it should transition to. If there is, it updates the index based
on the previously recorded changes and finally changes itself to point
at the new table.

With these changes Map/Set no longer keeps the iterators alive. Also,
as before, the iterators keep the underlying table(s) alive but not the
actual Map/Set.

BUG=v8:1793
LOG=Y
R=mstarzinger@chromium.org, rossberg@chromium.org

Review URL: https://codereview.chromium.org/289503002

Patch from Erik Arvidsson <arv@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21389 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-20 14:22:05 +00:00
benchmarks Fix bug in nextWeaker function of deltablue benchmark. 2013-10-25 13:21:46 +00:00
build ARM64: Enable PIE on Android. 2014-05-14 14:11:54 +00:00
include Reland "v8::TryCatch now works correctly with ASAN's UseAfterReturn mode enabled." 2014-05-20 10:13:46 +00:00
samples Avoid memset(NULL, ...). 2014-05-15 07:16:46 +00:00
src ES6 Map/Set iterators/forEach improvements 2014-05-20 14:22:05 +00:00
test ES6 Map/Set iterators/forEach improvements 2014-05-20 14:22:05 +00:00
tools ES6 Map/Set iterators/forEach improvements 2014-05-20 14:22:05 +00:00
.clang-format Change clang-format config to allow for two empty lines between functions 2013-12-03 10:39:21 +00:00
.DEPS.git Introduce .DEPS.git file to support full git checkouts 2014-04-23 12:28:43 +00:00
.gitignore Ignore Eclipse project description files. 2014-05-15 09:34:47 +00:00
AUTHORS Add ARM contributors to AUTHORS. 2014-02-12 11:54:34 +00:00
BUILD.gn Update BUILD.gn and properly disable it on android 2014-05-19 09:58:46 +00:00
ChangeLog Sync change log file with trunk. 2014-05-19 15:29:29 +00:00
codereview.settings Add settings for try server. 2013-12-17 12:24:25 +00:00
DEPS Fix chromium trunk url in DEPS. 2014-05-14 09:29:50 +00:00
LICENSE Update LICENSE date. 2014-02-18 10:50:22 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile ARM: update defaults for flags 2014-05-12 09:25:32 +00:00
Makefile.android [Android]: Update Makefile.android to use platform-14 as minimum. 2014-05-06 09:08:32 +00:00
Makefile.nacl This should make the NaCl build jobs green again. 2014-04-17 14:22:20 +00:00
OWNERS Add rmcilroy@chromium.org to src/OWNERS. 2014-04-11 08:55:18 +00:00
PRESUBMIT.py Add layout dbg trybot to default list. 2014-05-14 11:11:22 +00:00
WATCHLISTS Add myself to a watchlist for the public API. 2013-10-10 11:37:48 +00:00