equal
deleted
inserted
replaced
68 |
68 |
69 { |
69 { |
70 _virtual_space = vs; |
70 _virtual_space = vs; |
71 } |
71 } |
72 |
72 |
|
73 void ASPSOldGen::initialize_work(const char* perf_data_name, int level) { |
|
74 |
|
75 PSOldGen::initialize_work(perf_data_name, level); |
|
76 |
|
77 // The old gen can grow to gen_size_limit(). _reserve reflects only |
|
78 // the current maximum that can be committed. |
|
79 assert(_reserved.byte_size() <= gen_size_limit(), "Consistency check"); |
|
80 |
|
81 initialize_performance_counters(perf_data_name, level); |
|
82 } |
|
83 |
73 void ASPSOldGen::reset_after_change() { |
84 void ASPSOldGen::reset_after_change() { |
74 _reserved = MemRegion((HeapWord*)virtual_space()->low_boundary(), |
85 _reserved = MemRegion((HeapWord*)virtual_space()->low_boundary(), |
75 (HeapWord*)virtual_space()->high_boundary()); |
86 (HeapWord*)virtual_space()->high_boundary()); |
76 post_resize(); |
87 post_resize(); |
77 } |
88 } |