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

Issue 1414253004: [Oilpan] Add HeapObjectHeader::gcGeneration() and related methods (Closed)

Created:
5 years, 1 month ago by peria
Modified:
5 years, 1 month ago
Reviewers:
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

This CL was merged to https://codereview.chromium.org/1411603007/ HeapObjectHeader stores gcGeneration for use-after-free detection. This CL puts gcGeneration in HeapObjectHeader on creating each on-heap object. A new element "gcGeneration" is put in the empty 4 Bytes space of HeapObjectHeader, so this CL does not expand the size of HeapObjcectHeader class. gcGeneration added in this CL will be used in use-after-free detection. See the bug for the details. BUG=550325

Patch Set 1 #

Patch Set 2 : Rebase from master #

Patch Set 3 : Rebase #

Patch Set 4 : Rename #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
M third_party/WebKit/Source/platform/heap/HeapPage.h View 1 2 3 4 chunks +7 lines, -0 lines 2 comments Download
M third_party/WebKit/Source/platform/heap/HeapPage.cpp View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
peria
just make it public
5 years, 1 month ago (2015-11-05 09:25:51 UTC) #3
peria
PTL
5 years, 1 month ago (2015-11-06 02:11:01 UTC) #6
haraken
Without seeing how the methods are used, it's hard to review this CL (e.g., Maybe ...
5 years, 1 month ago (2015-11-06 02:39:04 UTC) #8
peria
On 2015/11/06 02:39:04, haraken wrote: > Without seeing how the methods are used, it's hard ...
5 years, 1 month ago (2015-11-09 09:05:21 UTC) #9
peria
On 2015/11/09 09:05:21, peria wrote: > HeapObjectHeader::gcGeneration() will be used in Member, and > https://codereview.chromium.org/1430983002/ ...
5 years, 1 month ago (2015-11-10 15:46:32 UTC) #10
sof
https://codereview.chromium.org/1414253004/diff/60001/third_party/WebKit/Source/platform/heap/HeapPage.h File third_party/WebKit/Source/platform/heap/HeapPage.h (right): https://codereview.chromium.org/1414253004/diff/60001/third_party/WebKit/Source/platform/heap/HeapPage.h#newcode221 third_party/WebKit/Source/platform/heap/HeapPage.h:221: void putGcGeneration(); What does this give you beyond what ...
5 years, 1 month ago (2015-11-10 16:09:24 UTC) #12
peria
https://codereview.chromium.org/1414253004/diff/60001/third_party/WebKit/Source/platform/heap/HeapPage.h File third_party/WebKit/Source/platform/heap/HeapPage.h (right): https://codereview.chromium.org/1414253004/diff/60001/third_party/WebKit/Source/platform/heap/HeapPage.h#newcode221 third_party/WebKit/Source/platform/heap/HeapPage.h:221: void putGcGeneration(); On 2015/11/10 16:09:24, sof wrote: > What ...
5 years, 1 month ago (2015-11-10 16:45:01 UTC) #13
haraken
On 2015/11/10 16:45:01, peria wrote: > https://codereview.chromium.org/1414253004/diff/60001/third_party/WebKit/Source/platform/heap/HeapPage.h > File third_party/WebKit/Source/platform/heap/HeapPage.h (right): > > https://codereview.chromium.org/1414253004/diff/60001/third_party/WebKit/Source/platform/heap/HeapPage.h#newcode221 > ...
5 years, 1 month ago (2015-11-10 16:51:21 UTC) #14
haraken
On 2015/11/10 16:51:21, haraken wrote: > On 2015/11/10 16:45:01, peria wrote: > > > https://codereview.chromium.org/1414253004/diff/60001/third_party/WebKit/Source/platform/heap/HeapPage.h ...
5 years, 1 month ago (2015-11-10 16:52:03 UTC) #15
sof
On 2015/11/10 16:45:01, peria wrote: > https://codereview.chromium.org/1414253004/diff/60001/third_party/WebKit/Source/platform/heap/HeapPage.h > File third_party/WebKit/Source/platform/heap/HeapPage.h (right): > > https://codereview.chromium.org/1414253004/diff/60001/third_party/WebKit/Source/platform/heap/HeapPage.h#newcode221 > ...
5 years, 1 month ago (2015-11-10 17:58:33 UTC) #16
haraken
On 2015/11/10 17:58:33, sof wrote: > On 2015/11/10 16:45:01, peria wrote: > > > https://codereview.chromium.org/1414253004/diff/60001/third_party/WebKit/Source/platform/heap/HeapPage.h ...
5 years, 1 month ago (2015-11-10 17:59:48 UTC) #17
peria
On 2015/11/10 17:58:33, sof wrote: > On 2015/11/10 16:45:01, peria wrote: > > > https://codereview.chromium.org/1414253004/diff/60001/third_party/WebKit/Source/platform/heap/HeapPage.h ...
5 years, 1 month ago (2015-11-11 03:06:38 UTC) #19
haraken
On 2015/11/11 03:06:38, peria wrote: > On 2015/11/10 17:58:33, sof wrote: > > On 2015/11/10 ...
5 years, 1 month ago (2015-11-11 03:07:32 UTC) #20
peria
5 years, 1 month ago (2015-11-13 04:49:40 UTC) #21
Filed a nice idea of sof@ to make light weight detector for UntracedMember<>
as a feature request. http://crbug.com/555364
So let me close this CL. It is already merged into another CL 
http://crrev.com/1411603007

Powered by Google App Engine
This is Rietveld 408576698