equal
deleted
inserted
replaced
33 |
33 |
34 bool inc_live; |
34 bool inc_live; |
35 uintptr_t object = 0u; |
35 uintptr_t object = 0u; |
36 |
36 |
37 // Mark the object strong. |
37 // Mark the object strong. |
38 livemap.set_atomic(object, false /* finalizable */, inc_live); |
38 livemap.set(object, false /* finalizable */, inc_live); |
39 |
39 |
40 // Check that both bits are in the same segment. |
40 // Check that both bits are in the same segment. |
41 ASSERT_EQ(livemap.index_to_segment(0), livemap.index_to_segment(1)); |
41 ASSERT_EQ(livemap.index_to_segment(0), livemap.index_to_segment(1)); |
42 |
42 |
43 // Check that the object was marked. |
43 // Check that the object was marked. |