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

Unified Diff: test/cctest/test-heap.cc

Issue 1279043002: [heap] Rename IncrementalMarking::Abort to Stop. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/mark-compact.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-heap.cc
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
index 6172d770b3261a8a22d13f443bf45636d4153081..0bc3c1e13f6f4b47e124fbc38d5bf24a069ac76a 100644
--- a/test/cctest/test-heap.cc
+++ b/test/cctest/test-heap.cc
@@ -2584,7 +2584,7 @@ TEST(InstanceOfStubWriteBarrier) {
}
IncrementalMarking* marking = CcTest::heap()->incremental_marking();
- marking->Abort();
+ marking->Stop();
marking->Start(Heap::kNoGCFlags);
Handle<JSFunction> f =
@@ -2712,7 +2712,7 @@ TEST(ResetSharedFunctionInfoCountersDuringIncrementalMarking) {
CHECK(f->IsOptimized());
IncrementalMarking* marking = CcTest::heap()->incremental_marking();
- marking->Abort();
+ marking->Stop();
marking->Start(Heap::kNoGCFlags);
// The following calls will increment CcTest::heap()->global_ic_age().
CcTest::isolate()->ContextDisposedNotification();
@@ -2753,7 +2753,7 @@ TEST(ResetSharedFunctionInfoCountersDuringMarkSweep) {
CcTest::global()->Get(v8_str("f"))));
CHECK(f->IsOptimized());
- CcTest::heap()->incremental_marking()->Abort();
+ CcTest::heap()->incremental_marking()->Stop();
// The following two calls will increment CcTest::heap()->global_ic_age().
CcTest::isolate()->ContextDisposedNotification();
@@ -2770,7 +2770,7 @@ TEST(IdleNotificationFinishMarking) {
CcTest::InitializeVM();
SimulateFullSpace(CcTest::heap()->old_space());
IncrementalMarking* marking = CcTest::heap()->incremental_marking();
- marking->Abort();
+ marking->Stop();
marking->Start(Heap::kNoGCFlags);
CHECK_EQ(CcTest::heap()->gc_count(), 0);
@@ -5701,7 +5701,7 @@ TEST(Regress388880) {
// Enable incremental marking to trigger actions in Heap::AdjustLiveBytes()
// that would cause crash.
IncrementalMarking* marking = CcTest::heap()->incremental_marking();
- marking->Abort();
+ marking->Stop();
marking->Start(Heap::kNoGCFlags);
CHECK(marking->IsMarking());
« no previous file with comments | « src/heap/mark-compact.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698