Description[heap] make inline-allocation-observers precise
Now that we no longer require AllocationInfo::limit to be aligned [1], we can do
more accurate inline-allocation-observation. This lets us get notified when the
next allocation that crosses the step-size boundary is allocated.
Fixed the test-cases. They make significantly more sense now given the step
sizes and the number of times we get notifications. For example, with a step
size of 512, an allocation of 16kb results in 32 notifications instead of 30
now.
[1] https://codereview.chromium.org/1444883003
R=hpayer@chromium.org
BUG=
Committed: https://crrev.com/0514fa204a39682fbc4ec7de19ac03aac08ee462
Cr-Commit-Position: refs/heads/master@{#32091}
Patch Set 1 #Patch Set 2 : fix typo in test-case comment #
Total comments: 2
Patch Set 3 : fix comment nits #Patch Set 4 : Rebase #Patch Set 5 : Needed to remove the second instance of the limit alignment assertion #
Messages
Total messages: 19 (7 generated)
|