File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
src/hotspot/share/gc/parallel Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -141,9 +141,9 @@ void ParallelScavengeHeap::initialize_serviceability() {
141141 " PS Survivor Space" ,
142142 false /* support_usage_threshold */ );
143143
144- _old_pool = new PSGenerationPool (_old_gen,
145- " PS Old Gen" ,
146- true /* support_usage_threshold */ );
144+ _old_pool = new PSOldGenerationPool (_old_gen,
145+ " PS Old Gen" ,
146+ true /* support_usage_threshold */ );
147147
148148 _young_manager = new GCMemoryManager (" PS Scavenge" );
149149 _old_manager = new GCMemoryManager (" PS MarkSweep" );
Original file line number Diff line number Diff line change 2424
2525#include " gc/parallel/psMemoryPool.hpp"
2626
27- PSGenerationPool::PSGenerationPool (PSOldGen* old_gen,
28- const char * name,
29- bool support_usage_threshold) :
27+ PSOldGenerationPool::PSOldGenerationPool (PSOldGen* old_gen,
28+ const char * name,
29+ bool support_usage_threshold) :
3030 CollectedMemoryPool(name, old_gen->capacity_in_bytes (),
3131 old_gen->reserved().byte_size(), support_usage_threshold), _old_gen(old_gen) {
3232}
3333
34- MemoryUsage PSGenerationPool ::get_memory_usage () {
34+ MemoryUsage PSOldGenerationPool ::get_memory_usage () {
3535 size_t maxSize = (available_for_allocation () ? max_size () : 0 );
3636 size_t used = used_in_bytes ();
3737 size_t committed = _old_gen->capacity_in_bytes ();
Original file line number Diff line number Diff line change 3131#include " services/memoryPool.hpp"
3232#include " services/memoryUsage.hpp"
3333
34- class PSGenerationPool : public CollectedMemoryPool {
34+ class PSOldGenerationPool : public CollectedMemoryPool {
3535private:
3636 PSOldGen* _old_gen;
3737
3838public:
39- PSGenerationPool (PSOldGen* pool, const char * name, bool support_usage_threshold);
39+ PSOldGenerationPool (PSOldGen* pool, const char * name, bool support_usage_threshold);
4040
4141 MemoryUsage get_memory_usage ();
4242 size_t used_in_bytes () { return _old_gen->used_in_bytes (); }
You can’t perform that action at this time.
0 commit comments