src/hotspot/share/services/virtualMemoryTracker.cpp
changeset 59119 7bdc4f073c7f
parent 54292 c31faeacf00a
child 59290 97d13893ec3c
equal deleted inserted replaced
59118:89c44961a84f 59119:7bdc4f073c7f
    43 void VirtualMemorySummary::snapshot(VirtualMemorySnapshot* s) {
    43 void VirtualMemorySummary::snapshot(VirtualMemorySnapshot* s) {
    44   // Only if thread stack is backed by virtual memory
    44   // Only if thread stack is backed by virtual memory
    45   if (ThreadStackTracker::track_as_vm()) {
    45   if (ThreadStackTracker::track_as_vm()) {
    46     // Snapshot current thread stacks
    46     // Snapshot current thread stacks
    47     VirtualMemoryTracker::snapshot_thread_stacks();
    47     VirtualMemoryTracker::snapshot_thread_stacks();
    48     as_snapshot()->copy_to(s);
    48   }
    49   }
    49   as_snapshot()->copy_to(s);
    50 }
    50 }
    51 
    51 
    52 SortedLinkedList<ReservedMemoryRegion, compare_reserved_region_base>* VirtualMemoryTracker::_reserved_regions;
    52 SortedLinkedList<ReservedMemoryRegion, compare_reserved_region_base>* VirtualMemoryTracker::_reserved_regions;
    53 
    53 
    54 int compare_committed_region(const CommittedMemoryRegion& r1, const CommittedMemoryRegion& r2) {
    54 int compare_committed_region(const CommittedMemoryRegion& r1, const CommittedMemoryRegion& r2) {