void G1MonitoringSupport::update_counters() { if (UsePerfData) { eden_counters()->update_capacity(eden_space_committed()); eden_counters()->update_used(eden_space_used()); to_counters()->update_capacity(survivor_space_committed()); to_counters()->update_used(survivor_space_used()); old_space_counters()->update_capacity(old_space_committed()); old_space_counters()->update_used(old_space_used()); non_young_collection_counters()->update_all(); } }
size_t used_in_bytes() { return old_space_used(_g1h); }