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

Issue 941073002: Oilpan: improve handling of ASan contiguous container annotations. (Closed)

Created:
5 years, 10 months ago by sof
Modified:
5 years, 10 months ago
CC:
blink-reviews, haraken, 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

Oilpan: improve handling of ASan contiguous container annotations. Follow up r190347 and support the retirement of contiguous container annotations for 'non-inline' heap vector backing stores. In order to handle the tracing of heap vector backing stores identified conservatively via the stack or other roots without overflowing such annotations, the tracing of these will implicitly widen the annotation to apply to the entire backing store allocation. R=haraken,inferno BUG=420515 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190624

Patch Set 1 #

Patch Set 2 : Resize annotation on lazy-trace only #

Patch Set 3 : Reinstate retirement of annotations #

Patch Set 4 : Support large page vector backings #

Total comments: 11

Patch Set 5 : Tidying adjustments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -2 lines) Patch
M Source/platform/heap/Heap.h View 1 2 3 4 3 chunks +15 lines, -0 lines 0 comments Download
M Source/platform/heap/Heap.cpp View 1 2 3 4 5 chunks +45 lines, -2 lines 2 comments Download

Messages

Total messages: 24 (5 generated)
sof
Please take a look. Various crashes seen on the ASan bots atm, more so on ...
5 years, 10 months ago (2015-02-20 08:02:09 UTC) #2
sof
On 2015/02/20 08:02:09, sof wrote: > Please take a look. > > Various crashes seen ...
5 years, 10 months ago (2015-02-20 13:06:44 UTC) #3
Oliver Chang
On 2015/02/20 13:06:44, sof wrote: > On 2015/02/20 08:02:09, sof wrote: > > Please take ...
5 years, 10 months ago (2015-02-20 19:38:02 UTC) #4
haraken
Mostly looks good. Thanks for taking your time in the stabilization. https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): ...
5 years, 10 months ago (2015-02-20 20:57:56 UTC) #7
sof
https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.cpp#newcode1038 Source/platform/heap/Heap.cpp:1038: if (heapIndex() == VectorHeapIndex) { On 2015/02/20 20:57:56, haraken ...
5 years, 10 months ago (2015-02-20 21:06:43 UTC) #8
inferno
https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.h File Source/platform/heap/Heap.h (right): https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.h#newcode41 Source/platform/heap/Heap.h:41: #if defined(ADDRESS_SANITIZER) can you remove the if defined here. ...
5 years, 10 months ago (2015-02-20 21:07:41 UTC) #10
haraken
https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.cpp#newcode1038 Source/platform/heap/Heap.cpp:1038: if (heapIndex() == VectorHeapIndex) { On 2015/02/20 21:06:43, sof ...
5 years, 10 months ago (2015-02-20 21:11:09 UTC) #11
sof
https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.h File Source/platform/heap/Heap.h (right): https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.h#newcode41 Source/platform/heap/Heap.h:41: #if defined(ADDRESS_SANITIZER) On 2015/02/20 21:07:41, inferno wrote: > can ...
5 years, 10 months ago (2015-02-20 21:13:38 UTC) #12
inferno
On 2015/02/20 21:13:38, sof wrote: > https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.h > File Source/platform/heap/Heap.h (right): > > https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.h#newcode41 > ...
5 years, 10 months ago (2015-02-20 21:15:38 UTC) #13
sof
https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.cpp#newcode1038 Source/platform/heap/Heap.cpp:1038: if (heapIndex() == VectorHeapIndex) { On 2015/02/20 21:11:09, haraken ...
5 years, 10 months ago (2015-02-20 21:45:17 UTC) #14
sof
On 2015/02/20 21:15:38, inferno wrote: > On 2015/02/20 21:13:38, sof wrote: > > > https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.h ...
5 years, 10 months ago (2015-02-20 22:18:00 UTC) #15
haraken
https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.cpp#newcode1038 Source/platform/heap/Heap.cpp:1038: if (heapIndex() == VectorHeapIndex) { On 2015/02/20 21:45:17, sof ...
5 years, 10 months ago (2015-02-21 06:56:35 UTC) #16
sof
On 2015/02/21 06:56:35, haraken wrote: > https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.cpp > File Source/platform/heap/Heap.cpp (right): > > https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.cpp#newcode1038 > ...
5 years, 10 months ago (2015-02-21 07:58:43 UTC) #17
sof
https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/941073002/diff/60001/Source/platform/heap/Heap.cpp#newcode67 Source/platform/heap/Heap.cpp:67: #define ASAN_RETIRE_CONTAINER_ANNOTATION(heapIndex, payload, payloadSize) \ On 2015/02/20 20:57:56, haraken ...
5 years, 10 months ago (2015-02-21 08:52:34 UTC) #18
sof
If anyone has time today to have a look here & it is acceptable, please ...
5 years, 10 months ago (2015-02-21 09:35:37 UTC) #19
haraken
LGTM https://codereview.chromium.org/941073002/diff/80001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/941073002/diff/80001/Source/platform/heap/Heap.cpp#newcode84 Source/platform/heap/Heap.cpp:84: #define ASAN_MARK_LARGE_VECTOR_CONTAINER(heap, largeObject) \ ASAN_ADD_CONTAINER_ANNOTATION ? (for consistency ...
5 years, 10 months ago (2015-02-21 22:45:41 UTC) #20
sof
https://codereview.chromium.org/941073002/diff/80001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/941073002/diff/80001/Source/platform/heap/Heap.cpp#newcode84 Source/platform/heap/Heap.cpp:84: #define ASAN_MARK_LARGE_VECTOR_CONTAINER(heap, largeObject) \ On 2015/02/21 22:45:41, haraken wrote: ...
5 years, 10 months ago (2015-02-22 07:22:11 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/941073002/80001
5 years, 10 months ago (2015-02-22 07:23:12 UTC) #23
commit-bot: I haz the power
5 years, 10 months ago (2015-02-22 07:25:57 UTC) #24
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=190624

Powered by Google App Engine
This is Rietveld 408576698