hg: jdk9/hs-rt/hotspot: 2 new changesets
yumin.qi at oracle.com
yumin.qi at oracle.com
Thu Jan 23 10:51:21 PST 2014
Changeset: ab67ce0bfae2
Author: minqi
Date: 2014-01-23 09:40 -0800
URL: http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/ab67ce0bfae2
6651256: jstack: DeleteGlobalRef method call doesn't lead to descreasing of global refs count shown by jstack
Summary: jni_DeleteGlobalRef does not really release the jni handle, instead, set the handle point to JNIHandles::_deleted_handle which holds an oop instance (java/lang/Object) in Java heap and never be GC'ed. When counting number of global reference, it counts all the handles on the chain list, which includes the already deleted ones.
Reviewed-by: zgu, sla, coleenp
Contributed-by: yumin.qi at oracle.com
! src/share/vm/runtime/jniHandles.cpp
Changeset: 7444c21b8b71
Author: minqi
Date: 2014-01-23 09:45 -0800
URL: http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/7444c21b8b71
Merge
More information about the jdk9-all-changes
mailing list