equal
deleted
inserted
replaced
24 |
24 |
25 #ifndef SHARE_GC_G1_G1HEAPTRANSITION_HPP |
25 #ifndef SHARE_GC_G1_G1HEAPTRANSITION_HPP |
26 #define SHARE_GC_G1_G1HEAPTRANSITION_HPP |
26 #define SHARE_GC_G1_G1HEAPTRANSITION_HPP |
27 |
27 |
28 #include "gc/shared/plab.hpp" |
28 #include "gc/shared/plab.hpp" |
|
29 #include "memory/metaspace/metaspaceSizesSnapshot.hpp" |
29 |
30 |
30 class G1CollectedHeap; |
31 class G1CollectedHeap; |
31 |
32 |
32 class G1HeapTransition { |
33 class G1HeapTransition { |
33 struct Data { |
34 struct Data { |
34 size_t _eden_length; |
35 size_t _eden_length; |
35 size_t _survivor_length; |
36 size_t _survivor_length; |
36 size_t _old_length; |
37 size_t _old_length; |
37 size_t _archive_length; |
38 size_t _archive_length; |
38 size_t _humongous_length; |
39 size_t _humongous_length; |
39 size_t _metaspace_used_bytes; |
40 const metaspace::MetaspaceSizesSnapshot _meta_sizes; |
40 |
41 |
41 Data(G1CollectedHeap* g1_heap); |
42 Data(G1CollectedHeap* g1_heap); |
42 }; |
43 }; |
43 |
44 |
44 G1CollectedHeap* _g1_heap; |
45 G1CollectedHeap* _g1_heap; |