hotspot/src/share/vm/oops/methodCounters.cpp
changeset 17858 c292f8791cca
parent 17000 11bf92e571a2
child 24442 4d4ae31dea26
--- a/hotspot/src/share/vm/oops/methodCounters.cpp	Tue May 28 11:35:57 2013 -0700
+++ b/hotspot/src/share/vm/oops/methodCounters.cpp	Tue May 28 16:36:19 2013 -0700
@@ -26,7 +26,7 @@
 #include "runtime/thread.inline.hpp"
 
 MethodCounters* MethodCounters::allocate(ClassLoaderData* loader_data, TRAPS) {
-  return new(loader_data, size(), false, THREAD) MethodCounters();
+  return new(loader_data, size(), false, MetaspaceObj::MethodCountersType, THREAD) MethodCounters();
 }
 
 void MethodCounters::clear_counters() {