hotspot/src/share/vm/services/memBaseline.cpp
changeset 15104 f5d78994619f
parent 14484 901d216b74bf
child 15452 3bfde2dea09d
--- a/hotspot/src/share/vm/services/memBaseline.cpp	Fri Dec 07 10:55:16 2012 -0800
+++ b/hotspot/src/share/vm/services/memBaseline.cpp	Tue Jan 08 14:04:25 2013 -0500
@@ -22,7 +22,6 @@
  *
  */
 #include "precompiled.hpp"
-#include "classfile/systemDictionary.hpp"
 #include "memory/allocation.hpp"
 #include "services/memBaseline.hpp"
 #include "services/memTracker.hpp"
@@ -349,7 +348,7 @@
   reset();
   _baselined = baseline_malloc_summary(snapshot._alloc_ptrs) &&
                baseline_vm_summary(snapshot._vm_ptrs);
-  _number_of_classes = SystemDictionary::number_of_classes();
+  _number_of_classes = snapshot.number_of_classes();
 
   if (!summary_only && MemTracker::track_callsite() && _baselined) {
     _baselined =  baseline_malloc_details(snapshot._alloc_ptrs) &&