Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(869)

Issue 14075012: Expose the GC under a name that is less collision prone than window.gc. (Closed)

Created:
7 years, 8 months ago by marja
Modified:
7 years, 8 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Expose the GC under a name that is less collision prone than window.gc. This also keeps backwards compatibility (window.gc() still works). BUG=2641 Committed: http://code.google.com/p/v8/source/detail?r=14397

Patch Set 1 #

Total comments: 2

Patch Set 2 : arg fix #

Patch Set 3 : . #

Patch Set 4 : --expose-gc-as #

Total comments: 3

Patch Set 5 : oops #

Patch Set 6 : define implication #

Patch Set 7 : . #

Patch Set 8 : snprintf #

Patch Set 9 : argh. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -6 lines) Patch
M src/extensions/gc-extension.h View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M src/extensions/gc-extension.cc View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -3 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Michael Starzinger
https://codereview.chromium.org/14075012/diff/1/src/extensions/gc-extension.cc File src/extensions/gc-extension.cc (right): https://codereview.chromium.org/14075012/diff/1/src/extensions/gc-extension.cc#newcode34 src/extensions/gc-extension.cc:34: "native function v8_force_gc(); function gc() { v8_force_gc(); }"; This ...
7 years, 8 months ago (2013-04-22 11:42:03 UTC) #1
marja
fixed. could you land this? https://codereview.chromium.org/14075012/diff/1/src/extensions/gc-extension.cc File src/extensions/gc-extension.cc (right): https://codereview.chromium.org/14075012/diff/1/src/extensions/gc-extension.cc#newcode34 src/extensions/gc-extension.cc:34: "native function v8_force_gc(); function ...
7 years, 8 months ago (2013-04-22 14:04:07 UTC) #2
Michael Starzinger
As discussed offline, let's use an additional --expose-gc-as flag that allows embedders to specify the ...
7 years, 8 months ago (2013-04-22 15:16:36 UTC) #3
marja
--expose-gc-as added
7 years, 8 months ago (2013-04-22 15:28:37 UTC) #4
Michael Starzinger
LGTM with one nit. I will land this when the nits are addressed. https://codereview.chromium.org/14075012/diff/4002/src/extensions/gc-extension.cc File ...
7 years, 8 months ago (2013-04-22 15:58:42 UTC) #5
marja
oops. fixed. https://codereview.chromium.org/14075012/diff/4002/src/extensions/gc-extension.cc File src/extensions/gc-extension.cc (right): https://codereview.chromium.org/14075012/diff/4002/src/extensions/gc-extension.cc#newcode33 src/extensions/gc-extension.cc:33: const char* const GCExtension::kSource = "native function ...
7 years, 8 months ago (2013-04-23 11:06:02 UTC) #6
Michael Starzinger
7 years, 8 months ago (2013-04-23 16:30:58 UTC) #7
Message was sent while issue was closed.
Committed patchset #9 manually as r14397 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698