hotspot/src/share/vm/gc_interface/collectedHeap.cpp
changeset 23853 3e1633ff6996
parent 23470 ff2a7ea4225d
child 23854 50f7f89b34e0
equal deleted inserted replaced
23852:b1d6f9920924 23853:3e1633ff6996
    83   return GCHeapSummary(heap_space, used());
    83   return GCHeapSummary(heap_space, used());
    84 }
    84 }
    85 
    85 
    86 MetaspaceSummary CollectedHeap::create_metaspace_summary() {
    86 MetaspaceSummary CollectedHeap::create_metaspace_summary() {
    87   const MetaspaceSizes meta_space(
    87   const MetaspaceSizes meta_space(
    88       MetaspaceAux::allocated_capacity_bytes(),
    88       MetaspaceAux::committed_bytes(),
    89       MetaspaceAux::allocated_used_bytes(),
    89       MetaspaceAux::allocated_used_bytes(),
    90       MetaspaceAux::reserved_bytes());
    90       MetaspaceAux::reserved_bytes());
    91   const MetaspaceSizes data_space(
    91   const MetaspaceSizes data_space(
    92       MetaspaceAux::allocated_capacity_bytes(Metaspace::NonClassType),
    92       MetaspaceAux::committed_bytes(Metaspace::NonClassType),
    93       MetaspaceAux::allocated_used_bytes(Metaspace::NonClassType),
    93       MetaspaceAux::allocated_used_bytes(Metaspace::NonClassType),
    94       MetaspaceAux::reserved_bytes(Metaspace::NonClassType));
    94       MetaspaceAux::reserved_bytes(Metaspace::NonClassType));
    95   const MetaspaceSizes class_space(
    95   const MetaspaceSizes class_space(
    96       MetaspaceAux::allocated_capacity_bytes(Metaspace::ClassType),
    96       MetaspaceAux::committed_bytes(Metaspace::ClassType),
    97       MetaspaceAux::allocated_used_bytes(Metaspace::ClassType),
    97       MetaspaceAux::allocated_used_bytes(Metaspace::ClassType),
    98       MetaspaceAux::reserved_bytes(Metaspace::ClassType));
    98       MetaspaceAux::reserved_bytes(Metaspace::ClassType));
    99 
    99 
   100   const MetaspaceChunkFreeListSummary& ms_chunk_free_list_summary =
   100   const MetaspaceChunkFreeListSummary& ms_chunk_free_list_summary =
   101     MetaspaceAux::chunk_free_list_summary(Metaspace::NonClassType);
   101     MetaspaceAux::chunk_free_list_summary(Metaspace::NonClassType);