hotspot/src/share/vm/oops/constantPool.cpp
changeset 17858 c292f8791cca
parent 17833 52e915e40b15
child 18439 725ce18186b3
--- a/hotspot/src/share/vm/oops/constantPool.cpp	Tue May 28 11:35:57 2013 -0700
+++ b/hotspot/src/share/vm/oops/constantPool.cpp	Tue May 28 16:36:19 2013 -0700
@@ -55,7 +55,7 @@
   // the resolved_references array, which is recreated at startup time.
   // But that could be moved to InstanceKlass (although a pain to access from
   // assembly code).  Maybe it could be moved to the cpCache which is RW.
-  return new (loader_data, size, false, THREAD) ConstantPool(tags);
+  return new (loader_data, size, false, MetaspaceObj::ConstantPoolType, THREAD) ConstantPool(tags);
 }
 
 ConstantPool::ConstantPool(Array<u1>* tags) {