hotspot/src/share/vm/prims/jvmtiGetLoadedClasses.cpp
changeset 13195 be27e1b6a4b9
parent 7397 5b173b4ca846
child 13728 882756847a04
--- a/hotspot/src/share/vm/prims/jvmtiGetLoadedClasses.cpp	Wed Jun 27 15:23:36 2012 +0200
+++ b/hotspot/src/share/vm/prims/jvmtiGetLoadedClasses.cpp	Thu Jun 28 17:03:16 2012 -0400
@@ -152,7 +152,7 @@
 
   // Public methods that get called within the scope of the closure
   void allocate() {
-    _list = NEW_C_HEAP_ARRAY(Handle, _count);
+    _list = NEW_C_HEAP_ARRAY(Handle, _count, mtInternal);
     assert(_list != NULL, "Out of memory");
     if (_list == NULL) {
       _count = 0;