Go to file
mstarzinger@chromium.org ebb44f0d30 Expose gc(true) to JavaScript, which triggers a scavenger GC.
With the --expose_gc option, gc() is exposed to JavaScript. Currently gc() triggers a full GC.

To enable JavaScript to test the behavior of a scavenger GC, this patch exposes gc(true). If the first argument is true, gc(...) triggers a scavenger GC. Otherwise, gc(...) triggers a full GC.

BUG=
Test=Manually confirmed that gc() and gc(false) trigger a full GC and that gc(true) triggers a scavenger GC.

Review URL: https://codereview.chromium.org/11232065
Patch from Kentaro Hara <haraken@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12815 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-10-25 12:23:03 +00:00
benchmarks More fixes for V8 benchmark version 7. 2012-03-15 17:13:50 +00:00
build Correctly check for stack limit in JSON.stringify. 2012-10-25 12:18:24 +00:00
include Implement committed physical memory stats for Linux. 2012-10-22 16:33:10 +00:00
preparser Fix a bunch of implicit casts detected by the Win64 compiler 2012-06-19 13:45:30 +00:00
samples Fix compilation when disabling debugger support. 2012-07-05 16:23:14 +00:00
src Expose gc(true) to JavaScript, which triggers a scavenger GC. 2012-10-25 12:23:03 +00:00
test Correctly check for stack limit in JSON.stringify. 2012-10-25 12:18:24 +00:00
tools Add json-stringifier.h to v8.gyp. 2012-10-24 09:56:01 +00:00
.gitignore Fixed directory ignorance involving symlinks. 2012-10-19 08:40:50 +00:00
AUTHORS Enable shared library on android 2012-10-24 12:11:15 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.14.6. 2012-10-22 13:09:01 +00:00
DEPS Pull more recent gyp. 2012-09-26 09:12:45 +00:00
LICENSE Update LICENSE file 2012-01-03 16:38:42 +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 Fix typo in Makefile in ARM VFP support flag. 2012-10-22 10:00:28 +00:00
Makefile.android Change the Android makefile to use GCC 4.6 instead of GCC 4.4.3. 2012-10-02 13:20:27 +00:00
OWNERS Add OWNERS file 2012-10-08 11:58:08 +00:00
PRESUBMIT.py Add PRESUBMIT script to V8 2012-10-08 13:49:57 +00:00
SConstruct Kill off the SCons based build. 2012-10-18 13:07:41 +00:00