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

Issue 1298113003: [api,heap] Fix external GC callbacks. (Closed)

Created:
5 years, 4 months ago by Michael Lippautz
Modified:
5 years, 4 months ago
CC:
v8-dev, Paweł Hajdan Jr.
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[api,heap] Fix external GC callbacks. * Add types to properly report what has been executed in the GC * Unify GCPrologueCallback and GCEpilogueCallback into GCCallback * Report processing of second round weak handels, either synchronously or asynchronously BUG=chromium:521946 LOG=N Committed: https://crrev.com/8aef442917e82491f0fc66426f71f865353d94e2 Cr-Commit-Position: refs/heads/master@{#30218}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 5

Patch Set 4 : Addressed comments #

Patch Set 5 : #

Patch Set 6 : Remove leftovers of old types. #

Patch Set 7 : Messed up types :) #

Patch Set 8 : Got rid of too many V8::Type vs Isolate::Type casts #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -87 lines) Patch
M include/v8.h View 1 2 3 4 5 6 10 chunks +40 lines, -29 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -14 lines 0 comments Download
M src/global-handles.cc View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M src/heap/heap.h View 1 2 chunks +17 lines, -30 lines 0 comments Download
M src/heap/heap.cc View 1 6 chunks +16 lines, -14 lines 1 comment Download

Messages

Total messages: 18 (6 generated)
Michael Lippautz
{GCPrologueCallback} and {GCEpilogueCallback} and their corresponding {CallbackPair}s are exactly the same, respectively. We never differentiate ...
5 years, 4 months ago (2015-08-18 09:01:15 UTC) #2
haraken
A change to include/v8.h looks good from the binding perspective. Thanks!
5 years, 4 months ago (2015-08-18 09:09:18 UTC) #3
Hannes Payer (out of office)
lgtm https://codereview.chromium.org/1298113003/diff/40001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1298113003/diff/40001/include/v8.h#newcode4963 include/v8.h:4963: kGCTypeIncremental = 1 << 2, kGCTypeIncrementalMarking maybe? https://codereview.chromium.org/1298113003/diff/40001/include/v8.h#newcode4978 ...
5 years, 4 months ago (2015-08-18 09:18:13 UTC) #4
Michael Lippautz
https://codereview.chromium.org/1298113003/diff/40001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1298113003/diff/40001/include/v8.h#newcode4963 include/v8.h:4963: kGCTypeIncremental = 1 << 2, On 2015/08/18 09:18:13, Hannes ...
5 years, 4 months ago (2015-08-18 10:03:08 UTC) #5
vogelheim
lgtm (Looks good, API-wise.) Please note that we're presently in API freeze until the M46 ...
5 years, 4 months ago (2015-08-18 10:05:51 UTC) #6
Michael Lippautz
Thanks a lot! Let's wait with the blink changes until M46 branch is cut then.
5 years, 4 months ago (2015-08-18 10:32:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1298113003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1298113003/60001
5 years, 4 months ago (2015-08-18 10:35:05 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_gcc_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_gcc_compile_rel/builds/5390)
5 years, 4 months ago (2015-08-18 10:41:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1298113003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1298113003/140001
5 years, 4 months ago (2015-08-18 11:38:38 UTC) #15
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 4 months ago (2015-08-18 12:03:51 UTC) #16
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/8aef442917e82491f0fc66426f71f865353d94e2 Cr-Commit-Position: refs/heads/master@{#30218}
5 years, 4 months ago (2015-08-18 12:04:03 UTC) #17
haraken
5 years, 4 months ago (2015-08-19 13:11:21 UTC) #18
Message was sent while issue was closed.
https://codereview.chromium.org/1298113003/diff/140001/src/heap/heap.cc
File src/heap/heap.cc (right):

https://codereview.chromium.org/1298113003/diff/140001/src/heap/heap.cc#newco...
src/heap/heap.cc:776: // filtering.

CL uploaded here: https://codereview.chromium.org/1288683005/

Powered by Google App Engine
This is Rietveld 408576698