8233219: NMT output on AIX misses some categories
authormbaesken
Fri, 15 Nov 2019 16:10:29 +0100
changeset 59119 7bdc4f073c7f
parent 59118 89c44961a84f
child 59120 fc68b2cdfeeb
8233219: NMT output on AIX misses some categories Reviewed-by: stuefe, zgu
src/hotspot/share/services/virtualMemoryTracker.cpp
--- a/src/hotspot/share/services/virtualMemoryTracker.cpp	Fri Nov 15 21:19:56 2019 -0500
+++ b/src/hotspot/share/services/virtualMemoryTracker.cpp	Fri Nov 15 16:10:29 2019 +0100
@@ -45,8 +45,8 @@
   if (ThreadStackTracker::track_as_vm()) {
     // Snapshot current thread stacks
     VirtualMemoryTracker::snapshot_thread_stacks();
-    as_snapshot()->copy_to(s);
   }
+  as_snapshot()->copy_to(s);
 }
 
 SortedLinkedList<ReservedMemoryRegion, compare_reserved_region_base>* VirtualMemoryTracker::_reserved_regions;