Index: test/unittests/heap/marking-unittest.cc |
diff --git a/test/unittests/heap/marking-unittest.cc b/test/unittests/heap/marking-unittest.cc |
index 28e58ca48772c5724511e694e97f7da5efbe1409..f49ae13678e3952e88d45162413b4bebbdf2b362 100644 |
--- a/test/unittests/heap/marking-unittest.cc |
+++ b/test/unittests/heap/marking-unittest.cc |
@@ -22,7 +22,7 @@ TEST(Marking, TransitionWhiteBlackWhite) { |
MarkBit mark_bit = bitmap->MarkBitFromIndex(position[i]); |
CHECK(Marking::IsWhite(mark_bit)); |
CHECK(!Marking::IsImpossible(mark_bit)); |
- Marking::WhiteToBlack(mark_bit); |
+ Marking::WhiteToBlack<MarkBit::NON_ATOMIC>(mark_bit); |
CHECK(Marking::IsBlack(mark_bit)); |
CHECK(!Marking::IsImpossible(mark_bit)); |
Marking::MarkWhite(mark_bit); |
@@ -43,11 +43,11 @@ TEST(Marking, TransitionWhiteGreyBlackGrey) { |
CHECK(Marking::IsWhite(mark_bit)); |
CHECK(!Marking::IsBlackOrGrey(mark_bit)); |
CHECK(!Marking::IsImpossible(mark_bit)); |
- Marking::WhiteToGrey(mark_bit); |
+ Marking::WhiteToGrey<MarkBit::NON_ATOMIC>(mark_bit); |
CHECK(Marking::IsGrey(mark_bit)); |
CHECK(Marking::IsBlackOrGrey(mark_bit)); |
CHECK(!Marking::IsImpossible(mark_bit)); |
- Marking::GreyToBlack(mark_bit); |
+ Marking::GreyToBlack<MarkBit::NON_ATOMIC>(mark_bit); |
CHECK(Marking::IsBlack(mark_bit)); |
CHECK(Marking::IsBlackOrGrey(mark_bit)); |
CHECK(!Marking::IsImpossible(mark_bit)); |