< prev index next > test/hotspot/gtest/gc/z/test_zForwarding.cpp
Print this page
bool dummy = false;
page.mark_object(ZAddress::marked(object), dummy, dummy);
const uint32_t live_objects = size;
const size_t live_bytes = live_objects * object_size;
! page.inc_live_atomic(live_objects, live_bytes);
// Setup forwarding
ZForwarding* const forwarding = ZForwarding::create(&page);
// Actual test function
bool dummy = false;
page.mark_object(ZAddress::marked(object), dummy, dummy);
const uint32_t live_objects = size;
const size_t live_bytes = live_objects * object_size;
! page.inc_live(live_objects, live_bytes);
// Setup forwarding
ZForwarding* const forwarding = ZForwarding::create(&page);
// Actual test function
< prev index next >