test/hotspot/gtest/gc/z/test_zLiveMap.cpp
changeset 59039 c60978f87d45
parent 50975 b833992fa8fa
equal deleted inserted replaced
59038:b9a42ca342db 59039:c60978f87d45
    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.