Disable stress_compaction flag in several GC tests to meet test
expectations. BUG= R=mstarzinger@chromium.org Review URL: https://codereview.chromium.org/17262002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15199 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
137a8c5181
commit
8f8461aff5
@ -103,6 +103,7 @@ TEST(ObjectHashTable) {
|
||||
|
||||
#ifdef DEBUG
|
||||
TEST(ObjectHashSetCausesGC) {
|
||||
i::FLAG_stress_compaction = false;
|
||||
LocalContext context;
|
||||
Isolate* isolate = Isolate::Current();
|
||||
Factory* factory = isolate->factory();
|
||||
@ -135,6 +136,7 @@ TEST(ObjectHashSetCausesGC) {
|
||||
|
||||
#ifdef DEBUG
|
||||
TEST(ObjectHashTableCausesGC) {
|
||||
i::FLAG_stress_compaction = false;
|
||||
LocalContext context;
|
||||
Isolate* isolate = Isolate::Current();
|
||||
Factory* factory = isolate->factory();
|
||||
|
@ -403,6 +403,7 @@ static void TestWeakGlobalHandleCallback(v8::Isolate* isolate,
|
||||
|
||||
|
||||
TEST(WeakGlobalHandlesScavenge) {
|
||||
i::FLAG_stress_compaction = false;
|
||||
CcTest::InitializeVM();
|
||||
Isolate* isolate = Isolate::Current();
|
||||
Heap* heap = isolate->heap();
|
||||
@ -489,6 +490,7 @@ TEST(WeakGlobalHandlesMark) {
|
||||
|
||||
|
||||
TEST(DeleteWeakGlobalHandle) {
|
||||
i::FLAG_stress_compaction = false;
|
||||
CcTest::InitializeVM();
|
||||
Isolate* isolate = Isolate::Current();
|
||||
Heap* heap = isolate->heap();
|
||||
@ -1978,6 +1980,7 @@ TEST(PrototypeTransitionClearing) {
|
||||
|
||||
|
||||
TEST(ResetSharedFunctionInfoCountersDuringIncrementalMarking) {
|
||||
i::FLAG_stress_compaction = false;
|
||||
i::FLAG_allow_natives_syntax = true;
|
||||
#ifdef VERIFY_HEAP
|
||||
i::FLAG_verify_heap = true;
|
||||
@ -2034,6 +2037,7 @@ TEST(ResetSharedFunctionInfoCountersDuringIncrementalMarking) {
|
||||
|
||||
|
||||
TEST(ResetSharedFunctionInfoCountersDuringMarkSweep) {
|
||||
i::FLAG_stress_compaction = false;
|
||||
i::FLAG_allow_natives_syntax = true;
|
||||
#ifdef VERIFY_HEAP
|
||||
i::FLAG_verify_heap = true;
|
||||
|
@ -283,6 +283,7 @@ static void GCEpilogueCallbackFunc() {
|
||||
|
||||
|
||||
TEST(GCCallback) {
|
||||
i::FLAG_stress_compaction = false;
|
||||
CcTest::InitializeVM();
|
||||
|
||||
HEAP->SetGlobalGCPrologueCallback(&GCPrologueCallbackFunc);
|
||||
|
@ -85,6 +85,7 @@ static bool HasTypedArrayInWeakList(JSArrayBuffer* array_buffer,
|
||||
|
||||
|
||||
TEST(WeakArrayBuffersFromApi) {
|
||||
i::FLAG_stress_compaction = false;
|
||||
v8::V8::Initialize();
|
||||
LocalContext context;
|
||||
Isolate* isolate = GetIsolateFrom(&context);
|
||||
|
Loading…
Reference in New Issue
Block a user