src/share/vm/services/management.cpp

changeset 2537
55cc33cf55bc
parent 2497
3582bf76420e
child 2538
f7702f8c0e25
     1.1 --- a/src/share/vm/services/management.cpp	Thu Feb 10 14:48:07 2011 -0800
     1.2 +++ b/src/share/vm/services/management.cpp	Fri Feb 11 14:15:16 2011 +0100
     1.3 @@ -1310,7 +1310,7 @@
     1.4      if (locked_monitors) {
     1.5        // Constructs Object[] and int[] to contain the object monitor and the stack depth
     1.6        // where the thread locked it
     1.7 -      objArrayOop array = oopFactory::new_system_objArray(num_locked_monitors, CHECK_NULL);
     1.8 +      objArrayOop array = oopFactory::new_system_objArray(num_locked_monitors, false, CHECK_NULL);
     1.9        objArrayHandle mh(THREAD, array);
    1.10        monitors_array = mh;
    1.11  
    1.12 @@ -1352,7 +1352,7 @@
    1.13        GrowableArray<instanceOop>* locks = (tcl != NULL ? tcl->owned_locks() : NULL);
    1.14        int num_locked_synchronizers = (locks != NULL ? locks->length() : 0);
    1.15  
    1.16 -      objArrayOop array = oopFactory::new_system_objArray(num_locked_synchronizers, CHECK_NULL);
    1.17 +      objArrayOop array = oopFactory::new_system_objArray(num_locked_synchronizers, false, CHECK_NULL);
    1.18        objArrayHandle sh(THREAD, array);
    1.19        synchronizers_array = sh;
    1.20  

mercurial