Changeset: 3c1ab134db71
Author:    dcubed
Date:      2011-12-22 18:35 -0800
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/3c1ab134db71

7121600: Instrumentation.redefineClasses() leaks class bytes
Summary: Call JNI ReleaseByteArrayElements() on memory returned by JNI 
GetByteArrayElements(). Also push test for 7122253.
Reviewed-by: acorn, poonam

! src/share/instrument/JPLISAgent.c
+ test/java/lang/instrument/BigClass.java
+ test/java/lang/instrument/MakeJAR4.sh
+ test/java/lang/instrument/RedefineBigClass.sh
+ test/java/lang/instrument/RedefineBigClassAgent.java
+ test/java/lang/instrument/RedefineBigClassApp.java
+ test/java/lang/instrument/RetransformBigClass.sh
+ test/java/lang/instrument/RetransformBigClassAgent.java
+ test/java/lang/instrument/RetransformBigClassApp.java

Reply via email to