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

Issue 2050463003: Check if Member owner thread matches pointer thread and current thread (Closed)

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

Description

Check if Member owner thread matches pointer thread and current thread BUG=591606 Committed: https://crrev.com/1ea4168e82bbba436733a26a157e3cb7e8736f19 Cr-Commit-Position: refs/heads/master@{#412765}

Patch Set 1 #

Patch Set 2 : ` #

Patch Set 3 : fix #

Patch Set 4 : update #

Patch Set 5 : fix #

Patch Set 6 : fix #

Patch Set 7 : fix #

Total comments: 20

Patch Set 8 : fix #

Total comments: 6

Patch Set 9 : fix #

Patch Set 10 : fix #

Patch Set 11 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -41 lines) Patch
M third_party/WebKit/Source/core/dom/ElementRareData.cpp View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/heap/HeapTest.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/Member.h View 1 2 3 4 5 6 7 8 9 10 9 chunks +142 lines, -35 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/heap/WrapperVisitor.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (26 generated)
keishi
The problems with this is that its heavy and can't lookup the thread of a ...
4 years, 6 months ago (2016-06-08 07:43:28 UTC) #2
haraken
Another verification idea would be: - When a Member/Persistent is created, remember the thread in ...
4 years, 6 months ago (2016-06-08 07:43:56 UTC) #3
haraken
At the moment, we can ignore memset Members.
4 years, 6 months ago (2016-06-08 07:45:00 UTC) #4
keishi
On 2016/06/08 07:43:56, haraken wrote: > Another verification idea would be: > > - When ...
4 years, 6 months ago (2016-06-08 12:06:30 UTC) #5
haraken
LGTM On 2016/06/08 12:06:30, keishi wrote: > On 2016/06/08 07:43:56, haraken wrote: > > Another ...
4 years, 6 months ago (2016-06-09 02:25:37 UTC) #6
sof
Why can't m_creationThreadHeap be derived from the page that |this| is on?
4 years, 6 months ago (2016-06-09 05:22:19 UTC) #8
keishi
https://codereview.chromium.org/2050463003/diff/120001/third_party/WebKit/Source/platform/heap/Member.h File third_party/WebKit/Source/platform/heap/Member.h (right): https://codereview.chromium.org/2050463003/diff/120001/third_party/WebKit/Source/platform/heap/Member.h#newcode149 third_party/WebKit/Source/platform/heap/Member.h:149: if (tracenessConfiguration != UntracedMemberConfiguration && current) { Ignoring UntracedMember ...
4 years, 4 months ago (2016-08-16 13:05:50 UTC) #14
keishi
4 years, 4 months ago (2016-08-16 13:06:48 UTC) #16
haraken
Mostly looks good. https://codereview.chromium.org/2050463003/diff/120001/third_party/WebKit/Source/core/dom/ElementRareData.cpp File third_party/WebKit/Source/core/dom/ElementRareData.cpp (right): https://codereview.chromium.org/2050463003/diff/120001/third_party/WebKit/Source/core/dom/ElementRareData.cpp#newcode111 third_party/WebKit/Source/core/dom/ElementRareData.cpp:111: #if !DCHECK_IS_ON() Can we update SameSizeAsElementRareData ...
4 years, 4 months ago (2016-08-16 13:27:13 UTC) #17
haraken
Also it would be more generic to store m_creationThreadState instead of m_creationThreadHeap.
4 years, 4 months ago (2016-08-16 13:37:13 UTC) #18
keishi
https://codereview.chromium.org/2050463003/diff/120001/third_party/WebKit/Source/core/dom/ElementRareData.cpp File third_party/WebKit/Source/core/dom/ElementRareData.cpp (right): https://codereview.chromium.org/2050463003/diff/120001/third_party/WebKit/Source/core/dom/ElementRareData.cpp#newcode111 third_party/WebKit/Source/core/dom/ElementRareData.cpp:111: #if !DCHECK_IS_ON() On 2016/08/16 13:27:13, haraken wrote: > > ...
4 years, 4 months ago (2016-08-17 11:18:29 UTC) #24
haraken
LGTM https://codereview.chromium.org/2050463003/diff/120001/third_party/WebKit/Source/platform/heap/Member.h File third_party/WebKit/Source/platform/heap/Member.h (right): https://codereview.chromium.org/2050463003/diff/120001/third_party/WebKit/Source/platform/heap/Member.h#newcode150 third_party/WebKit/Source/platform/heap/Member.h:150: if (m_creationThreadHeap) { On 2016/08/17 11:18:28, keishi wrote: ...
4 years, 4 months ago (2016-08-17 11:40:41 UTC) #25
keishi
https://codereview.chromium.org/2050463003/diff/120001/third_party/WebKit/Source/platform/heap/Member.h File third_party/WebKit/Source/platform/heap/Member.h (right): https://codereview.chromium.org/2050463003/diff/120001/third_party/WebKit/Source/platform/heap/Member.h#newcode150 third_party/WebKit/Source/platform/heap/Member.h:150: if (m_creationThreadHeap) { On 2016/08/17 11:40:41, haraken wrote: > ...
4 years, 4 months ago (2016-08-17 12:23:20 UTC) #27
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/2050463003/180001
4 years, 4 months ago (2016-08-17 12:58:06 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/209012)
4 years, 4 months ago (2016-08-17 13:32:28 UTC) #33
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/2050463003/200001
4 years, 4 months ago (2016-08-18 07:23:42 UTC) #40
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 4 months ago (2016-08-18 08:13:50 UTC) #42
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 08:15:50 UTC) #44
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/1ea4168e82bbba436733a26a157e3cb7e8736f19
Cr-Commit-Position: refs/heads/master@{#412765}

Powered by Google App Engine
This is Rietveld 408576698