< prev index next >

test/hotspot/gtest/gc/z/test_zLiveMap.cpp

Print this page
*** 33,11 ***
  
      bool inc_live;
      uintptr_t object = 0u;
  
      // Mark the object strong.
!     livemap.set_atomic(object, false /* finalizable */, inc_live);
  
      // Check that both bits are in the same segment.
      ASSERT_EQ(livemap.index_to_segment(0), livemap.index_to_segment(1));
  
      // Check that the object was marked.
--- 33,11 ---
  
      bool inc_live;
      uintptr_t object = 0u;
  
      // Mark the object strong.
!     livemap.set(object, false /* finalizable */, inc_live);
  
      // Check that both bits are in the same segment.
      ASSERT_EQ(livemap.index_to_segment(0), livemap.index_to_segment(1));
  
      // Check that the object was marked.
< prev index next >