v8/test/cctest/heap
Ali Ijaz Sheikh 4623b8223b [heap] replace DisableInlineAllocationSteps with PauseAllocationObservers
* DisableInlineAllocationSteps was a blunt hammer added to work around
  tests that needed to avoid artificially lower limits imposed by
  observers. PauseAllocationObserversScope can properly disable step on
  a temporary basis.
* Modify tests. Remove DisableInlineAllocationSteps.

This exposed a bug in allocation observers: we were not doing a step
when a fresh page is added.

Fix this by moving the step into UpdateAllocationInfo. We should be
doing a step (and keeping top_on_previous_step_ consistent) whenever
we move move top(). UpdateAllocationInfo is the correct place for this
rather than the callers of UpdateAllocationInfo.

Bug: 
Change-Id: I2edc238dc2e73bf9a2e9738c2a9b50efcac5cbf0
Reviewed-on: https://chromium-review.googlesource.com/821052
Commit-Queue: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50052}
2017-12-12 19:12:03 +00:00
..
heap-tester.h [heap] Add regression test for 791582. 2017-12-06 16:19:26 +00:00
heap-utils.cc [heap] replace DisableInlineAllocationSteps with PauseAllocationObservers 2017-12-12 19:12:03 +00:00
heap-utils.h [heap] Exclude the owner of the linear allocation area from evacuation. 2016-11-03 12:13:23 +00:00
test-alloc.cc [Memory] Rewrite platform OS Commit / Uncommit in terms of permissions. 2017-11-21 16:48:55 +00:00
test-array-buffer-tracker.cc Dispose isolate at end of UNINITIALIZED_TEST 2017-10-04 16:21:09 +00:00
test-compaction.cc [heap] Re-enable parallel marking 2017-11-20 13:03:03 +00:00
test-concurrent-marking.cc [heap] Introduce on-hold concurrent marking work list 2017-10-10 11:33:39 +00:00
test-embedder-tracing.cc [heap] Increase test coverage for embedder tracing 2017-12-07 14:11:51 +00:00
test-heap.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
test-incremental-marking.cc [heap] Correctly restore platform in IncrementalMarkingUsingTasks test. 2017-12-08 10:39:12 +00:00
test-invalidated-slots.cc [test] Add stress_incremental_marking testing variant 2017-10-05 13:10:42 +00:00
test-lab.cc [iwyu] Remove stale TODOs about objects-inl.h inclusion. 2017-10-09 11:14:59 +00:00
test-mark-compact.cc [factory] Simplify JSFunction creation 2017-11-08 13:52:13 +00:00
test-page-promotion.cc [heap] Move sweeper to separate file 2017-11-28 09:22:09 +00:00
test-spaces.cc [heap] Make assert in Page::ShrinkToHighWaterMark more robust. 2017-12-12 15:14:58 +00:00