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

Issue 2682933003: Remove a thread-local termination GC (Closed)

Created:
3 years, 10 months ago by haraken
Modified:
3 years, 10 months ago
Reviewers:
sof
CC:
chromium-reviews, oilpan-reviews, Mads Ager (chromium), haraken, blink-reviews, kinuko+watch, kouhei+heap_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove a thread-local termination GC Now that we've shipped the per-thread heap, a thread-local termination GC should not be needed. We can just use a normal GC to clean up the thread. BUG=671856 Review-Url: https://codereview.chromium.org/2682933003 Cr-Commit-Position: refs/heads/master@{#449067} Committed: https://chromium.googlesource.com/chromium/src/+/89d59827bf8706769513e1b6b0ad1a113bbfa65d

Patch Set 1 #

Total comments: 4

Patch Set 2 : temp #

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

Messages

Total messages: 14 (8 generated)
haraken
PTAL I think this change is now safe if I'm not missing something.
3 years, 10 months ago (2017-02-08 09:31:16 UTC) #3
sof
Not quite sure not having a simplified termination GC entrypoint is worth it. https://codereview.chromium.org/2682933003/diff/1/third_party/WebKit/Source/platform/heap/ThreadState.cpp File ...
3 years, 10 months ago (2017-02-08 11:49:47 UTC) #7
haraken
https://codereview.chromium.org/2682933003/diff/1/third_party/WebKit/Source/platform/heap/ThreadState.cpp File third_party/WebKit/Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/2682933003/diff/1/third_party/WebKit/Source/platform/heap/ThreadState.cpp#newcode233 third_party/WebKit/Source/platform/heap/ThreadState.cpp:233: // Set the terminate flag on all heap pages ...
3 years, 10 months ago (2017-02-08 12:00:10 UTC) #8
sof
ok, lgtm (I assume you'll followup and remove collectGarbageForTerminatingThread() + ThreadLocalMarking ) https://codereview.chromium.org/2682933003/diff/20001/third_party/WebKit/Source/platform/heap/ThreadState.cpp File third_party/WebKit/Source/platform/heap/ThreadState.cpp ...
3 years, 10 months ago (2017-02-08 12:06:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2682933003/20001
3 years, 10 months ago (2017-02-08 17:53:55 UTC) #11
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 19:51:24 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/89d59827bf8706769513e1b6b0ad...

Powered by Google App Engine
This is Rietveld 408576698