src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp

Print this page
rev 6178 : 8038934: Remove prefix allocated_ from methods and variables in Metaspace

@@ -1202,11 +1202,11 @@
 
   _eden_capacity_bytes_before_gc =
          (_young_list_target_length * HeapRegion::GrainBytes) - _survivor_used_bytes_before_gc;
 
   if (full) {
-    _metaspace_used_bytes_before_gc = MetaspaceAux::allocated_used_bytes();
+    _metaspace_used_bytes_before_gc = MetaspaceAux::used_bytes();
   }
 }
 
 void G1CollectorPolicy::print_heap_transition() {
   _g1->print_size_transition(gclog_or_tty,