hotspot/src/share/vm/services/management.cpp
changeset 8301 ced2edc6711c
parent 8110 c992c8d52344
parent 8300 2cdc3e841b8e
child 8337 ccb1f3acfe94
--- a/hotspot/src/share/vm/services/management.cpp	Fri Feb 11 15:32:03 2011 -0800
+++ b/hotspot/src/share/vm/services/management.cpp	Mon Feb 14 22:21:18 2011 -0500
@@ -1311,7 +1311,7 @@
     if (locked_monitors) {
       // Constructs Object[] and int[] to contain the object monitor and the stack depth
       // where the thread locked it
-      objArrayOop array = oopFactory::new_system_objArray(num_locked_monitors, CHECK_NULL);
+      objArrayOop array = oopFactory::new_system_objArray(num_locked_monitors, false, CHECK_NULL);
       objArrayHandle mh(THREAD, array);
       monitors_array = mh;
 
@@ -1353,7 +1353,7 @@
       GrowableArray<instanceOop>* locks = (tcl != NULL ? tcl->owned_locks() : NULL);
       int num_locked_synchronizers = (locks != NULL ? locks->length() : 0);
 
-      objArrayOop array = oopFactory::new_system_objArray(num_locked_synchronizers, CHECK_NULL);
+      objArrayOop array = oopFactory::new_system_objArray(num_locked_synchronizers, false, CHECK_NULL);
       objArrayHandle sh(THREAD, array);
       synchronizers_array = sh;