[heap] More cctest fixes for concurrent marker.
BUG=chromium:694255 Change-Id: Ia985a00fe2193bac96057994d93718224706ca04 Reviewed-on: https://chromium-review.googlesource.com/531168 Commit-Queue: Ulan Degenbaev <ulan@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#45893}
This commit is contained in:
parent
09637ab3ce
commit
28810a2aa6
@ -114,7 +114,7 @@ TEST(ArrayBuffer_ScavengeAndMC) {
|
||||
}
|
||||
|
||||
TEST(ArrayBuffer_Compaction) {
|
||||
if (!FLAG_never_compact) return;
|
||||
if (FLAG_never_compact) return;
|
||||
FLAG_concurrent_marking = false;
|
||||
FLAG_stress_incremental_marking = false;
|
||||
FLAG_manual_evacuation_candidates_selection = true;
|
||||
@ -194,6 +194,7 @@ TEST(ArrayBuffer_UnregisterDuringSweep) {
|
||||
|
||||
TEST(ArrayBuffer_NonLivePromotion) {
|
||||
if (!FLAG_incremental_marking) return;
|
||||
ManualGCScope manual_gc_scope;
|
||||
// The test verifies that the marking state is preserved when promoting
|
||||
// a buffer to old space.
|
||||
CcTest::InitializeVM();
|
||||
@ -230,6 +231,7 @@ TEST(ArrayBuffer_NonLivePromotion) {
|
||||
|
||||
TEST(ArrayBuffer_LivePromotion) {
|
||||
if (!FLAG_incremental_marking) return;
|
||||
ManualGCScope manual_gc_scope;
|
||||
// The test verifies that the marking state is preserved when promoting
|
||||
// a buffer to old space.
|
||||
CcTest::InitializeVM();
|
||||
|
@ -159,6 +159,7 @@ HEAP_TEST(CompactionPartiallyAbortedPage) {
|
||||
|
||||
|
||||
HEAP_TEST(CompactionPartiallyAbortedPageIntraAbortedPointers) {
|
||||
if (!FLAG_never_compact) return;
|
||||
// Test the scenario where we reach OOM during compaction and parts of the
|
||||
// page have already been migrated to a new one. Objects on the aborted page
|
||||
// are linked together. This test makes sure that intra-aborted page pointers
|
||||
@ -245,6 +246,7 @@ HEAP_TEST(CompactionPartiallyAbortedPageIntraAbortedPointers) {
|
||||
|
||||
|
||||
HEAP_TEST(CompactionPartiallyAbortedPageWithStoreBufferEntries) {
|
||||
if (FLAG_never_compact) return;
|
||||
// Test the scenario where we reach OOM during compaction and parts of the
|
||||
// page have already been migrated to a new one. Objects on the aborted page
|
||||
// are linked together and the very first object on the aborted page points
|
||||
|
@ -737,6 +737,7 @@ TEST(DeleteWeakGlobalHandle) {
|
||||
}
|
||||
|
||||
TEST(BytecodeArray) {
|
||||
if (FLAG_never_compact) return;
|
||||
static const uint8_t kRawBytes[] = {0xc3, 0x7e, 0xa5, 0x5a};
|
||||
static const int kRawBytesSize = sizeof(kRawBytes);
|
||||
static const int kFrameSize = 32;
|
||||
@ -3860,9 +3861,9 @@ TEST(Regress513496) {
|
||||
|
||||
TEST(LargeObjectSlotRecording) {
|
||||
if (!FLAG_incremental_marking) return;
|
||||
FLAG_concurrent_marking = false;
|
||||
if (FLAG_never_compact) return;
|
||||
ManualGCScope manual_gc_scope;
|
||||
FLAG_manual_evacuation_candidates_selection = true;
|
||||
FLAG_stress_incremental_marking = false;
|
||||
CcTest::InitializeVM();
|
||||
Isolate* isolate = CcTest::i_isolate();
|
||||
Heap* heap = isolate->heap();
|
||||
|
@ -530,6 +530,7 @@ static void TestDeoptimizeBinaryOpHelper(LocalContext* env,
|
||||
|
||||
|
||||
UNINITIALIZED_TEST(DeoptimizeBinaryOperationADD) {
|
||||
ManualGCScope manual_gc_scope;
|
||||
i::FLAG_concurrent_recompilation = false;
|
||||
v8::Isolate::CreateParams create_params;
|
||||
create_params.array_buffer_allocator = CcTest::array_buffer_allocator();
|
||||
@ -560,6 +561,7 @@ UNINITIALIZED_TEST(DeoptimizeBinaryOperationADD) {
|
||||
|
||||
|
||||
UNINITIALIZED_TEST(DeoptimizeBinaryOperationSUB) {
|
||||
ManualGCScope manual_gc_scope;
|
||||
i::FLAG_concurrent_recompilation = false;
|
||||
v8::Isolate::CreateParams create_params;
|
||||
create_params.array_buffer_allocator = CcTest::array_buffer_allocator();
|
||||
@ -590,6 +592,7 @@ UNINITIALIZED_TEST(DeoptimizeBinaryOperationSUB) {
|
||||
|
||||
|
||||
UNINITIALIZED_TEST(DeoptimizeBinaryOperationMUL) {
|
||||
ManualGCScope manual_gc_scope;
|
||||
i::FLAG_concurrent_recompilation = false;
|
||||
v8::Isolate::CreateParams create_params;
|
||||
create_params.array_buffer_allocator = CcTest::array_buffer_allocator();
|
||||
@ -620,6 +623,7 @@ UNINITIALIZED_TEST(DeoptimizeBinaryOperationMUL) {
|
||||
|
||||
|
||||
UNINITIALIZED_TEST(DeoptimizeBinaryOperationDIV) {
|
||||
ManualGCScope manual_gc_scope;
|
||||
i::FLAG_concurrent_recompilation = false;
|
||||
v8::Isolate::CreateParams create_params;
|
||||
create_params.array_buffer_allocator = CcTest::array_buffer_allocator();
|
||||
@ -650,6 +654,7 @@ UNINITIALIZED_TEST(DeoptimizeBinaryOperationDIV) {
|
||||
|
||||
|
||||
UNINITIALIZED_TEST(DeoptimizeBinaryOperationMOD) {
|
||||
ManualGCScope manual_gc_scope;
|
||||
i::FLAG_concurrent_recompilation = false;
|
||||
v8::Isolate::CreateParams create_params;
|
||||
create_params.array_buffer_allocator = CcTest::array_buffer_allocator();
|
||||
@ -680,6 +685,7 @@ UNINITIALIZED_TEST(DeoptimizeBinaryOperationMOD) {
|
||||
|
||||
|
||||
UNINITIALIZED_TEST(DeoptimizeCompare) {
|
||||
ManualGCScope manual_gc_scope;
|
||||
i::FLAG_concurrent_recompilation = false;
|
||||
v8::Isolate::CreateParams create_params;
|
||||
create_params.array_buffer_allocator = CcTest::array_buffer_allocator();
|
||||
@ -744,6 +750,7 @@ UNINITIALIZED_TEST(DeoptimizeCompare) {
|
||||
|
||||
|
||||
UNINITIALIZED_TEST(DeoptimizeLoadICStoreIC) {
|
||||
ManualGCScope manual_gc_scope;
|
||||
i::FLAG_concurrent_recompilation = false;
|
||||
v8::Isolate::CreateParams create_params;
|
||||
create_params.array_buffer_allocator = CcTest::array_buffer_allocator();
|
||||
@ -844,6 +851,7 @@ UNINITIALIZED_TEST(DeoptimizeLoadICStoreIC) {
|
||||
|
||||
|
||||
UNINITIALIZED_TEST(DeoptimizeLoadICStoreICNested) {
|
||||
ManualGCScope manual_gc_scope;
|
||||
i::FLAG_concurrent_recompilation = false;
|
||||
v8::Isolate::CreateParams create_params;
|
||||
create_params.array_buffer_allocator = CcTest::array_buffer_allocator();
|
||||
|
Loading…
Reference in New Issue
Block a user