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

Side by Side Diff: test/cctest/heap/test-mark-compact.cc

Issue 1512553002: [cctest] Move most heap related tests to test/cctest/heap and clean wrt IWYU (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed compile time error due to missing header file Created 5 years 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 unified diff | Download patch
« no previous file with comments | « test/cctest/heap/test-incremental-marking.cc ('k') | test/cctest/heap/test-spaces.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 27 matching lines...) Expand all
38 #include <unistd.h> 38 #include <unistd.h>
39 #endif 39 #endif
40 40
41 #include <utility> 41 #include <utility>
42 42
43 #include "src/v8.h" 43 #include "src/v8.h"
44 44
45 #include "src/full-codegen/full-codegen.h" 45 #include "src/full-codegen/full-codegen.h"
46 #include "src/global-handles.h" 46 #include "src/global-handles.h"
47 #include "test/cctest/cctest.h" 47 #include "test/cctest/cctest.h"
48 #include "test/cctest/heap-tester.h" 48 #include "test/cctest/heap/heap-tester.h"
49 #include "test/cctest/heap/utils-inl.h"
50
49 51
50 using namespace v8::internal; 52 using namespace v8::internal;
51 using v8::Just; 53 using v8::Just;
52 54
53 55
54 TEST(MarkingDeque) { 56 TEST(MarkingDeque) {
55 CcTest::InitializeVM(); 57 CcTest::InitializeVM();
56 int mem_size = 20 * kPointerSize; 58 int mem_size = 20 * kPointerSize;
57 byte* mem = NewArray<byte>(20*kPointerSize); 59 byte* mem = NewArray<byte>(20*kPointerSize);
58 Address low = reinterpret_cast<Address>(mem); 60 Address low = reinterpret_cast<Address>(mem);
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 491
490 492
491 TEST(RegressJoinThreadsOnIsolateDeinit) { 493 TEST(RegressJoinThreadsOnIsolateDeinit) {
492 intptr_t size_limit = ShortLivingIsolate() * 2; 494 intptr_t size_limit = ShortLivingIsolate() * 2;
493 for (int i = 0; i < 10; i++) { 495 for (int i = 0; i < 10; i++) {
494 CHECK_GT(size_limit, ShortLivingIsolate()); 496 CHECK_GT(size_limit, ShortLivingIsolate());
495 } 497 }
496 } 498 }
497 499
498 #endif // __linux__ and !USE_SIMULATOR 500 #endif // __linux__ and !USE_SIMULATOR
OLDNEW
« no previous file with comments | « test/cctest/heap/test-incremental-marking.cc ('k') | test/cctest/heap/test-spaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698