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

Issue 2012763002: Add checks for per thread heap (Closed)

Created:
4 years, 7 months ago by keishi
Modified:
4 years, 6 months ago
Reviewers:
oilpan-reviews, haraken
CC:
chromium-reviews, oilpan-reviews, Mads Ager (chromium), haraken, blink-reviews, kinuko+watch, kouhei+heap_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add checks for per thread heap A GC should only mark the objects that belong in its heap. visitStack should only mark the objects that belong in its heap. isHeapObjectAlive will only work if the object belongs to the current GCing thread's heap. BUG=591606 Committed: https://crrev.com/fcd2684d99a74875a8d6444015362692ee6b08fd Cr-Commit-Position: refs/heads/master@{#396379}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 5

Patch Set 4 : fix #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M third_party/WebKit/Source/platform/heap/Heap.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/Heap.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/MarkingVisitorImpl.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.cpp View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
keishi
PTAL Part of: 1. This. Add checks for per thread heap https://codereview.chromium.org/2012763002/ 2. Allow CrossThreadPersistent ...
4 years, 7 months ago (2016-05-25 13:09:11 UTC) #3
haraken
https://codereview.chromium.org/2012763002/diff/40001/third_party/WebKit/Source/platform/heap/Heap.h File third_party/WebKit/Source/platform/heap/Heap.h (right): https://codereview.chromium.org/2012763002/diff/40001/third_party/WebKit/Source/platform/heap/Heap.h#newcode209 third_party/WebKit/Source/platform/heap/Heap.h:209: return true; Would you help me understand why we ...
4 years, 7 months ago (2016-05-25 15:41:22 UTC) #4
keishi
https://codereview.chromium.org/2012763002/diff/40001/third_party/WebKit/Source/platform/heap/Heap.h File third_party/WebKit/Source/platform/heap/Heap.h (right): https://codereview.chromium.org/2012763002/diff/40001/third_party/WebKit/Source/platform/heap/Heap.h#newcode209 third_party/WebKit/Source/platform/heap/Heap.h:209: return true; On 2016/05/25 15:41:22, haraken wrote: > > ...
4 years, 7 months ago (2016-05-26 04:29:39 UTC) #5
keishi
https://codereview.chromium.org/2012763002/diff/40001/third_party/WebKit/Source/platform/heap/Heap.h File third_party/WebKit/Source/platform/heap/Heap.h (right): https://codereview.chromium.org/2012763002/diff/40001/third_party/WebKit/Source/platform/heap/Heap.h#newcode205 third_party/WebKit/Source/platform/heap/Heap.h:205: // TODO(keishi): some tests create CrossThreadPersistent on non attached ...
4 years, 7 months ago (2016-05-26 04:33:02 UTC) #6
haraken
https://codereview.chromium.org/2012763002/diff/40001/third_party/WebKit/Source/platform/heap/Heap.h File third_party/WebKit/Source/platform/heap/Heap.h (right): https://codereview.chromium.org/2012763002/diff/40001/third_party/WebKit/Source/platform/heap/Heap.h#newcode205 third_party/WebKit/Source/platform/heap/Heap.h:205: // TODO(keishi): some tests create CrossThreadPersistent on non attached ...
4 years, 7 months ago (2016-05-26 07:52:29 UTC) #7
keishi
https://codereview.chromium.org/2012763002/diff/40001/third_party/WebKit/Source/platform/heap/Heap.h File third_party/WebKit/Source/platform/heap/Heap.h (right): https://codereview.chromium.org/2012763002/diff/40001/third_party/WebKit/Source/platform/heap/Heap.h#newcode205 third_party/WebKit/Source/platform/heap/Heap.h:205: // TODO(keishi): some tests create CrossThreadPersistent on non attached ...
4 years, 7 months ago (2016-05-26 11:52:54 UTC) #8
haraken
LGTM
4 years, 7 months ago (2016-05-26 15:50:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012763002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2012763002/100001
4 years, 6 months ago (2016-05-27 01:45:15 UTC) #11
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-05-27 04:32:40 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 04:33:58 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/fcd2684d99a74875a8d6444015362692ee6b08fd
Cr-Commit-Position: refs/heads/master@{#396379}

Powered by Google App Engine
This is Rietveld 408576698