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

Issue 1815153002: Introduce EmbedderHeapTracer (Closed)

Created:
4 years, 9 months ago by Marcel Hlopko
Modified:
4 years, 8 months ago
CC:
Hannes Payer (out of office), Paweł Hajdan Jr., ulan, v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Introduce EmbedderHeapTracer BUG=468240 LOG=no Committed: https://crrev.com/289f3824973714e8a917bdcd485fcd8cbb58fdfd Cr-Commit-Position: refs/heads/master@{#35162}

Patch Set 1 #

Patch Set 2 : Introduce EmbedderHeapTracer #

Patch Set 3 : Fix formatting #

Patch Set 4 : Fix formatting #

Total comments: 9

Patch Set 5 : Incorporate Jochen'c comments #

Total comments: 1

Patch Set 6 : Gave the api a week to settle down and this is the result #

Total comments: 20

Patch Set 7 : Incorporate Jochen's wonderful comments #

Total comments: 8

Patch Set 8 : Incorporated wonderful Hannes' comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -1 line) Patch
M include/v8.h View 1 2 3 4 5 6 7 6 chunks +60 lines, -0 lines 1 comment Download
M src/api.cc View 1 2 3 4 5 6 7 2 chunks +8 lines, -0 lines 0 comments Download
M src/global-handles.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M src/heap/heap.h View 1 2 3 4 5 6 7 2 chunks +11 lines, -0 lines 1 comment Download
M src/heap/heap.cc View 1 2 3 4 5 6 7 3 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (8 generated)
Marcel Hlopko
ptal, this is needed for clearing dom tracing mark bits.
4 years, 9 months ago (2016-03-18 13:19:30 UTC) #2
jochen (gone - plz use gerrit)
I think it would be cleaner if we had a dedicated interface the embedder needs ...
4 years, 9 months ago (2016-03-18 13:26:18 UTC) #3
Marcel Hlopko
Did you have something like this on your mind?
4 years, 9 months ago (2016-03-21 13:14:25 UTC) #4
jochen (gone - plz use gerrit)
yes, getting close :) https://codereview.chromium.org/1815153002/diff/60001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1815153002/diff/60001/include/v8.h#newcode5161 include/v8.h:5161: typedef void (*GCAliveHandleCallback)(Persistent<Object>* handle, why ...
4 years, 9 months ago (2016-03-21 13:31:15 UTC) #6
Marcel Hlopko
https://codereview.chromium.org/1815153002/diff/60001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1815153002/diff/60001/include/v8.h#newcode5161 include/v8.h:5161: typedef void (*GCAliveHandleCallback)(Persistent<Object>* handle, On 2016/03/21 13:31:15, jochen - ...
4 years, 9 months ago (2016-03-21 14:29:59 UTC) #7
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1815153002/diff/80001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1815153002/diff/80001/include/v8.h#newcode5373 include/v8.h:5373: GCPutOnMarkingDequeCallback callback); as discussed offline, I'd propose to not ...
4 years, 9 months ago (2016-03-24 14:31:37 UTC) #8
Marcel Hlopko
I gave it a week and moved further with the implementation so now the api ...
4 years, 8 months ago (2016-03-30 09:24:12 UTC) #9
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1815153002/diff/100001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1815153002/diff/100001/include/v8.h#newcode5368 include/v8.h:5368: struct WrapperHiddenFields { why not just std::pair<void*,void*>? https://codereview.chromium.org/1815153002/diff/100001/include/v8.h#newcode5391 include/v8.h:5391: ...
4 years, 8 months ago (2016-03-30 16:44:46 UTC) #11
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1815153002/diff/100001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/1815153002/diff/100001/src/heap/heap.cc#newcode5427 src/heap/heap.cc:5427: IncrementalMarking::MarkObject(isolate()->heap(), heap_object); isolate()->heap() === this https://codereview.chromium.org/1815153002/diff/100001/src/heap/heap.cc#newcode5595 src/heap/heap.cc:5595: DCHECK(tracer != ...
4 years, 8 months ago (2016-03-30 16:46:18 UTC) #12
Marcel Hlopko
Incorporated Jochen's wonderful comments https://codereview.chromium.org/1815153002/diff/100001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1815153002/diff/100001/include/v8.h#newcode5368 include/v8.h:5368: struct WrapperHiddenFields { Because I ...
4 years, 8 months ago (2016-03-30 18:51:12 UTC) #15
Hannes Payer (out of office)
https://codereview.chromium.org/1815153002/diff/160001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1815153002/diff/160001/include/v8.h#newcode603 include/v8.h:603: V8_INLINE void AddToMarkingDeque(Isolate* isolate); I do not think we ...
4 years, 8 months ago (2016-03-31 11:13:22 UTC) #16
Marcel Hlopko
https://codereview.chromium.org/1815153002/diff/160001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1815153002/diff/160001/include/v8.h#newcode603 include/v8.h:603: V8_INLINE void AddToMarkingDeque(Isolate* isolate); Agree, done. https://codereview.chromium.org/1815153002/diff/160001/src/api.cc File src/api.cc ...
4 years, 8 months ago (2016-03-31 11:59:00 UTC) #17
Hannes Payer (out of office)
https://codereview.chromium.org/1815153002/diff/180001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1815153002/diff/180001/include/v8.h#newcode603 include/v8.h:603: V8_INLINE void RegisterExternalReference(Isolate* isolate); RegisterExternallyReferencedObject https://codereview.chromium.org/1815153002/diff/180001/src/heap/heap.h File src/heap/heap.h (right): ...
4 years, 8 months ago (2016-03-31 12:31:38 UTC) #18
Hannes Payer (out of office)
lgtm
4 years, 8 months ago (2016-03-31 12:36:33 UTC) #19
jochen (gone - plz use gerrit)
lgtm
4 years, 8 months ago (2016-03-31 13:10:31 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1815153002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1815153002/180001
4 years, 8 months ago (2016-03-31 13:13:58 UTC) #22
commit-bot: I haz the power
Committed patchset #8 (id:180001)
4 years, 8 months ago (2016-03-31 13:38:26 UTC) #24
commit-bot: I haz the power
4 years, 8 months ago (2016-03-31 13:38:37 UTC) #26
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/289f3824973714e8a917bdcd485fcd8cbb58fdfd
Cr-Commit-Position: refs/heads/master@{#35162}

Powered by Google App Engine
This is Rietveld 408576698