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

Issue 818923005: Add InlinedMarkingVisitor::shouldMarkObject() predicate. (Closed)

Created:
5 years, 11 months ago by sof
Modified:
5 years, 11 months ago
CC:
blink-reviews, oilpan-reviews, kouhei+heap_chromium.org, Mads Ager (chromium)
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add InlinedMarkingVisitor::shouldMarkObject() predicate. Rename checkSkipForObjectInTerminatingThreadHeap() as shouldMarkObject() and invert the predicate's meaning: it returns true if the object reference should be marked and traced, false if it should not be. When performing a thread-local GC, references to other thread heaps should not be marked and traced. R=haraken BUG=445388 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187774

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add test + rename predicate to shouldMarkObject() #

Patch Set 3 : update predicate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -10 lines) Patch
M Source/platform/heap/Heap.cpp View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M Source/platform/heap/HeapTest.cpp View 1 2 chunks +108 lines, -0 lines 0 comments Download
M Source/platform/heap/InlinedGlobalMarkingVisitor.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/platform/heap/MarkingVisitorImpl.h View 1 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
sof
Please take a look.
5 years, 11 months ago (2014-12-29 21:23:53 UTC) #2
haraken
LGTM Can we add a test for this?
5 years, 11 months ago (2014-12-30 02:07:13 UTC) #3
haraken
https://codereview.chromium.org/818923005/diff/1/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/818923005/diff/1/Source/platform/heap/Heap.cpp#newcode2131 Source/platform/heap/Heap.cpp:2131: inline bool checkSkipForObjectInTerminatingThreadHeap(const void* objectPointer) For clarity, shall we ...
5 years, 11 months ago (2014-12-30 02:52:50 UTC) #5
sof
On 2014/12/30 02:07:13, haraken wrote: > LGTM > > Can we add a test for ...
5 years, 11 months ago (2014-12-30 08:52:31 UTC) #6
sof
https://codereview.chromium.org/818923005/diff/1/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/818923005/diff/1/Source/platform/heap/Heap.cpp#newcode2131 Source/platform/heap/Heap.cpp:2131: inline bool checkSkipForObjectInTerminatingThreadHeap(const void* objectPointer) On 2014/12/30 02:52:50, haraken ...
5 years, 11 months ago (2014-12-30 08:52:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/818923005/40001
5 years, 11 months ago (2014-12-30 09:05:06 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=187774
5 years, 11 months ago (2014-12-30 10:28:52 UTC) #10
kouhei (in TOK)
5 years, 11 months ago (2015-01-05 00:49:38 UTC) #11
Message was sent while issue was closed.
lgtm Thanks for the fix.

Powered by Google App Engine
This is Rietveld 408576698