Add a flag to track detached contexts.
authorulan <ulan@chromium.org>
Thu, 5 Feb 2015 09:35:47 +0000 (01:35 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 5 Feb 2015 09:35:59 +0000 (09:35 +0000)
commitb7d27ea58307e9201c1196cf2cf523205cd8ab60
treea540a609833323c792b175b46719638f07b52881
parent0e3b5386aec539599c241bac09a25a8b5d2a4ef5
Add a flag to track detached contexts.

When embedder detaches the global objects, its context must be garbage
collected eventually.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#26450}
include/v8.h
src/bootstrapper.cc
src/flag-definitions.h
src/heap/heap.cc
src/heap/heap.h
src/isolate.cc
src/isolate.h