| Index: test/cctest/test-dictionary.cc
|
| diff --git a/test/cctest/test-dictionary.cc b/test/cctest/test-dictionary.cc
|
| index 00e38333fcd2645c77852cefd38c5ac162f740dc..2acd4e664ee05d8bb0a9123ad1010ba80bcfd70a 100644
|
| --- a/test/cctest/test-dictionary.cc
|
| +++ b/test/cctest/test-dictionary.cc
|
| @@ -114,7 +114,8 @@ TEST(ObjectHashSetCausesGC) {
|
|
|
| // Simulate a full heap so that generating an identity hash code
|
| // in subsequent calls will request GC.
|
| - FLAG_gc_interval = 0;
|
| + SimulateFullSpace(HEAP->new_space());
|
| + SimulateFullSpace(HEAP->old_pointer_space());
|
|
|
| // Calling Contains() should not cause GC ever.
|
| CHECK(!table->Contains(*key));
|
| @@ -143,7 +144,8 @@ TEST(ObjectHashTableCausesGC) {
|
|
|
| // Simulate a full heap so that generating an identity hash code
|
| // in subsequent calls will request GC.
|
| - FLAG_gc_interval = 0;
|
| + SimulateFullSpace(HEAP->new_space());
|
| + SimulateFullSpace(HEAP->old_pointer_space());
|
|
|
| // Calling Lookup() should not cause GC ever.
|
| CHECK(table->Lookup(*key)->IsTheHole());
|
|
|