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
|
#ifdef DEBUG
|
||||||
TEST(ObjectHashSetCausesGC) {
|
TEST(ObjectHashSetCausesGC) {
|
||||||
|
i::FLAG_stress_compaction = false;
|
||||||
LocalContext context;
|
LocalContext context;
|
||||||
Isolate* isolate = Isolate::Current();
|
Isolate* isolate = Isolate::Current();
|
||||||
Factory* factory = isolate->factory();
|
Factory* factory = isolate->factory();
|
||||||
@ -135,6 +136,7 @@ TEST(ObjectHashSetCausesGC) {
|
|||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
TEST(ObjectHashTableCausesGC) {
|
TEST(ObjectHashTableCausesGC) {
|
||||||
|
i::FLAG_stress_compaction = false;
|
||||||
LocalContext context;
|
LocalContext context;
|
||||||
Isolate* isolate = Isolate::Current();
|
Isolate* isolate = Isolate::Current();
|
||||||
Factory* factory = isolate->factory();
|
Factory* factory = isolate->factory();
|
||||||
|
@ -403,6 +403,7 @@ static void TestWeakGlobalHandleCallback(v8::Isolate* isolate,
|
|||||||
|
|
||||||
|
|
||||||
TEST(WeakGlobalHandlesScavenge) {
|
TEST(WeakGlobalHandlesScavenge) {
|
||||||
|
i::FLAG_stress_compaction = false;
|
||||||
CcTest::InitializeVM();
|
CcTest::InitializeVM();
|
||||||
Isolate* isolate = Isolate::Current();
|
Isolate* isolate = Isolate::Current();
|
||||||
Heap* heap = isolate->heap();
|
Heap* heap = isolate->heap();
|
||||||
@ -489,6 +490,7 @@ TEST(WeakGlobalHandlesMark) {
|
|||||||
|
|
||||||
|
|
||||||
TEST(DeleteWeakGlobalHandle) {
|
TEST(DeleteWeakGlobalHandle) {
|
||||||
|
i::FLAG_stress_compaction = false;
|
||||||
CcTest::InitializeVM();
|
CcTest::InitializeVM();
|
||||||
Isolate* isolate = Isolate::Current();
|
Isolate* isolate = Isolate::Current();
|
||||||
Heap* heap = isolate->heap();
|
Heap* heap = isolate->heap();
|
||||||
@ -1978,6 +1980,7 @@ TEST(PrototypeTransitionClearing) {
|
|||||||
|
|
||||||
|
|
||||||
TEST(ResetSharedFunctionInfoCountersDuringIncrementalMarking) {
|
TEST(ResetSharedFunctionInfoCountersDuringIncrementalMarking) {
|
||||||
|
i::FLAG_stress_compaction = false;
|
||||||
i::FLAG_allow_natives_syntax = true;
|
i::FLAG_allow_natives_syntax = true;
|
||||||
#ifdef VERIFY_HEAP
|
#ifdef VERIFY_HEAP
|
||||||
i::FLAG_verify_heap = true;
|
i::FLAG_verify_heap = true;
|
||||||
@ -2034,6 +2037,7 @@ TEST(ResetSharedFunctionInfoCountersDuringIncrementalMarking) {
|
|||||||
|
|
||||||
|
|
||||||
TEST(ResetSharedFunctionInfoCountersDuringMarkSweep) {
|
TEST(ResetSharedFunctionInfoCountersDuringMarkSweep) {
|
||||||
|
i::FLAG_stress_compaction = false;
|
||||||
i::FLAG_allow_natives_syntax = true;
|
i::FLAG_allow_natives_syntax = true;
|
||||||
#ifdef VERIFY_HEAP
|
#ifdef VERIFY_HEAP
|
||||||
i::FLAG_verify_heap = true;
|
i::FLAG_verify_heap = true;
|
||||||
|
@ -283,6 +283,7 @@ static void GCEpilogueCallbackFunc() {
|
|||||||
|
|
||||||
|
|
||||||
TEST(GCCallback) {
|
TEST(GCCallback) {
|
||||||
|
i::FLAG_stress_compaction = false;
|
||||||
CcTest::InitializeVM();
|
CcTest::InitializeVM();
|
||||||
|
|
||||||
HEAP->SetGlobalGCPrologueCallback(&GCPrologueCallbackFunc);
|
HEAP->SetGlobalGCPrologueCallback(&GCPrologueCallbackFunc);
|
||||||
|
@ -85,6 +85,7 @@ static bool HasTypedArrayInWeakList(JSArrayBuffer* array_buffer,
|
|||||||
|
|
||||||
|
|
||||||
TEST(WeakArrayBuffersFromApi) {
|
TEST(WeakArrayBuffersFromApi) {
|
||||||
|
i::FLAG_stress_compaction = false;
|
||||||
v8::V8::Initialize();
|
v8::V8::Initialize();
|
||||||
LocalContext context;
|
LocalContext context;
|
||||||
Isolate* isolate = GetIsolateFrom(&context);
|
Isolate* isolate = GetIsolateFrom(&context);
|
||||||
|
Loading…
Reference in New Issue
Block a user