v8/include
ulan a6da98d86f Introduce a new phantom weakness type without finalization callback.
Handles of this type are automatically reset by the garbage collector
when their objects are not longer reachable.

The motivation is to reduce pause time of external.weak_global_handles
phase of the garbage collector by not maintaing the list of pending
callbacks and not calling the callbacks.

Local testing on discourse page of the v8.inifinite_scroll benchmark
shows 7x improvement for this GC phase.

Before:
external.weak_global_handles
 len: 21
 min: 0.0
 max: 4.5
 avg: 0.757142857143

After:
external.weak_global_handles
 len: 21
 min: 0.0
 max: 0.5
 avg: 0.109523809524

A follow-up patch will enable the new phantom handles in Chromium.

BUG=chromium:608333
LOG=NO

Review-Url: https://codereview.chromium.org/1950963002
Cr-Commit-Position: refs/heads/master@{#36095}
2016-05-09 07:18:00 +00:00
..
libplatform [api] Assume that v8/include is in the include path for all public headers 2016-02-29 11:03:02 +00:00
OWNERS Add myself to include/OWNERS 2015-04-21 10:05:59 +00:00
v8-debug.h [V8] Removed debugger V8::PromiseEvent 2016-04-05 18:13:02 +00:00
v8-experimental.h [api] Assume that v8/include is in the include path for all public headers 2016-02-29 11:03:02 +00:00
v8-platform.h [Tracing] Remove deprecated AddTraceEvent 2016-03-01 21:20:48 +00:00
v8-profiler.h Sampling heap profiler: Force Full GC before retrieving the profile. 2016-05-04 19:16:27 +00:00
v8-testing.h Remove easy to remove calls to Isolate::Current() from api.cc 2015-11-30 08:16:59 +00:00
v8-util.h [API] Remove deprecated WeakCallbackData and related functions. 2016-05-06 13:18:07 +00:00
v8-version.h Update version to 5.2 2016-04-11 09:28:53 +00:00
v8.h Introduce a new phantom weakness type without finalization callback. 2016-05-09 07:18:00 +00:00
v8config.h Use C++11 / gnu++11, not 0x 2016-03-22 15:24:43 +00:00