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); |