test/hotspot/gtest/gc/z/test_zForwarding.cpp
changeset 59039 c60978f87d45
parent 58237 944b58cbaf93
equal deleted inserted replaced
59038:b9a42ca342db 59039:c60978f87d45
   157     bool dummy = false;
   157     bool dummy = false;
   158     page.mark_object(ZAddress::marked(object), dummy, dummy);
   158     page.mark_object(ZAddress::marked(object), dummy, dummy);
   159 
   159 
   160     const uint32_t live_objects = size;
   160     const uint32_t live_objects = size;
   161     const size_t live_bytes = live_objects * object_size;
   161     const size_t live_bytes = live_objects * object_size;
   162     page.inc_live_atomic(live_objects, live_bytes);
   162     page.inc_live(live_objects, live_bytes);
   163 
   163 
   164     // Setup forwarding
   164     // Setup forwarding
   165     ZForwarding* const forwarding = ZForwarding::create(&page);
   165     ZForwarding* const forwarding = ZForwarding::create(&page);
   166 
   166 
   167     // Actual test function
   167     // Actual test function