|
AdjustLiveBytes and friends takes a heap object pointer instead of an address.
That makes going to the page safe. Addresses can be in arbitrary locations of an object, e.g. in a large object but not on the first 1M page.
BUG=
Committed: https://crrev.com/8548ea5d1a38412531a71c5a647baf8c1c8b1ea0
Cr-Commit-Position: refs/heads/master@{#29991}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+32 lines, -36 lines) |
Patch |
|
M |
src/factory.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/heap/heap.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/heap/heap.cc
|
View
|
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/heap/incremental-marking.cc
|
View
|
|
5 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/heap/incremental-marking-inl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/heap/mark-compact.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap/mark-compact.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap/mark-compact-inl.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap/spaces.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/heap/spaces.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
|
5 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-regexp.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 7 (2 generated)
|