< prev index next >

src/share/vm/prims/jvmtiEnv.cpp

Print this page
rev 12310 : [mq]: gcinterface.patch

@@ -1755,11 +1755,11 @@
 } /* end GetObjectsWithTags */
 
 
 jvmtiError
 JvmtiEnv::ForceGarbageCollection() {
-  Universe::heap()->collect(GCCause::_jvmti_force_gc);
+  GC::gc()->heap()->collect(GCCause::_jvmti_force_gc);
   return JVMTI_ERROR_NONE;
 } /* end ForceGarbageCollection */
 
 
   //
< prev index next >