Index: test/unittests/heap/marking-unittest.cc |
diff --git a/test/unittests/heap/marking-unittest.cc b/test/unittests/heap/marking-unittest.cc |
index edb39c87fc08f11cf789e290a17b53e2b11247b4..4f80d384dd789f4dfd7d87010721cad3a66540b0 100644 |
--- a/test/unittests/heap/marking-unittest.cc |
+++ b/test/unittests/heap/marking-unittest.cc |
@@ -32,35 +32,6 @@ TEST(Marking, TransitionWhiteBlackWhite) { |
free(bitmap); |
} |
-TEST(Marking, TransitionAnyToGrey) { |
- Bitmap* bitmap = reinterpret_cast<Bitmap*>( |
- calloc(Bitmap::kSize / kPointerSize, kPointerSize)); |
- const int kLocationsSize = 3; |
- int position[kLocationsSize] = { |
- Bitmap::kBitsPerCell - 2, Bitmap::kBitsPerCell - 1, Bitmap::kBitsPerCell}; |
- for (int i = 0; i < kLocationsSize; i++) { |
- MarkBit mark_bit = bitmap->MarkBitFromIndex(position[i]); |
- CHECK(Marking::IsWhite(mark_bit)); |
- CHECK(!Marking::IsImpossible(mark_bit)); |
- Marking::AnyToGrey(mark_bit); |
- CHECK(Marking::IsGrey(mark_bit)); |
- CHECK(Marking::IsBlackOrGrey(mark_bit)); |
- CHECK(!Marking::IsImpossible(mark_bit)); |
- Marking::GreyToBlack(mark_bit); |
- CHECK(Marking::IsBlack(mark_bit)); |
- CHECK(Marking::IsBlackOrGrey(mark_bit)); |
- CHECK(!Marking::IsImpossible(mark_bit)); |
- Marking::AnyToGrey(mark_bit); |
- CHECK(Marking::IsGrey(mark_bit)); |
- CHECK(Marking::IsBlackOrGrey(mark_bit)); |
- CHECK(!Marking::IsImpossible(mark_bit)); |
- Marking::GreyToWhite(mark_bit); |
- CHECK(Marking::IsWhite(mark_bit)); |
- CHECK(!Marking::IsImpossible(mark_bit)); |
- } |
- free(bitmap); |
-} |
- |
TEST(Marking, TransitionWhiteGreyBlackGrey) { |
Bitmap* bitmap = reinterpret_cast<Bitmap*>( |
calloc(Bitmap::kSize / kPointerSize, kPointerSize)); |