hotspot/src/share/vm/oops/method.cpp
changeset 17858 c292f8791cca
parent 17388 8193ee82efbe
child 18439 725ce18186b3
--- a/hotspot/src/share/vm/oops/method.cpp	Tue May 28 11:35:57 2013 -0700
+++ b/hotspot/src/share/vm/oops/method.cpp	Tue May 28 16:36:19 2013 -0700
@@ -74,7 +74,7 @@
 
   int size = Method::size(access_flags.is_native());
 
-  return new (loader_data, size, false, THREAD) Method(cm, access_flags, size);
+  return new (loader_data, size, false, MetaspaceObj::MethodType, THREAD) Method(cm, access_flags, size);
 }
 
 Method::Method(ConstMethod* xconst, AccessFlags access_flags, int size) {