equal
deleted
inserted
replaced
39 #include "gc/parallel/psVMOperations.hpp" |
39 #include "gc/parallel/psVMOperations.hpp" |
40 #include "gc/shared/gcHeapSummary.hpp" |
40 #include "gc/shared/gcHeapSummary.hpp" |
41 #include "gc/shared/gcLocker.hpp" |
41 #include "gc/shared/gcLocker.hpp" |
42 #include "gc/shared/gcWhen.hpp" |
42 #include "gc/shared/gcWhen.hpp" |
43 #include "gc/shared/genArguments.hpp" |
43 #include "gc/shared/genArguments.hpp" |
|
44 #include "gc/shared/locationPrinter.inline.hpp" |
44 #include "gc/shared/scavengableNMethods.hpp" |
45 #include "gc/shared/scavengableNMethods.hpp" |
45 #include "logging/log.hpp" |
46 #include "logging/log.hpp" |
46 #include "memory/metaspaceCounters.hpp" |
47 #include "memory/metaspaceCounters.hpp" |
47 #include "memory/universe.hpp" |
48 #include "memory/universe.hpp" |
48 #include "oops/oop.inline.hpp" |
49 #include "oops/oop.inline.hpp" |
580 MutableSpace* to = young_gen()->to_space(); |
581 MutableSpace* to = young_gen()->to_space(); |
581 SpaceSummary to_space(to->bottom(), to->end(), to->used_in_bytes()); |
582 SpaceSummary to_space(to->bottom(), to->end(), to->used_in_bytes()); |
582 |
583 |
583 VirtualSpaceSummary heap_summary = create_heap_space_summary(); |
584 VirtualSpaceSummary heap_summary = create_heap_space_summary(); |
584 return PSHeapSummary(heap_summary, used(), old_summary, old_space, young_summary, eden_space, from_space, to_space); |
585 return PSHeapSummary(heap_summary, used(), old_summary, old_space, young_summary, eden_space, from_space, to_space); |
|
586 } |
|
587 |
|
588 bool ParallelScavengeHeap::print_location(outputStream* st, void* addr) const { |
|
589 return BlockLocationPrinter<ParallelScavengeHeap>::print_location(st, addr); |
585 } |
590 } |
586 |
591 |
587 void ParallelScavengeHeap::print_on(outputStream* st) const { |
592 void ParallelScavengeHeap::print_on(outputStream* st) const { |
588 young_gen()->print_on(st); |
593 young_gen()->print_on(st); |
589 old_gen()->print_on(st); |
594 old_gen()->print_on(st); |