RFR  java/lang/instrument/RedefineBigClass.sh needs modification
ivan.gerasimov at oracle.com
Wed Jul 3 17:12:44 UTC 2013
We have a request to improve jtreg test.
The test had been written to verify fix for memory leak during class
The problem is that it always is reported as PASSED even in the presence
of the leak.
The proposed change is platform specific.
It allows memory leak detection only on Linux.
This is because the memory leak was in native code, so there's no easy
way to detect it from within Java code.
Here's the webrev for JDK8 repository:
The surprising thing is that modified test detected the leak with the
Latest 6 and 7 are fine, so it might be regression in JDK8.
I've filled a bug http://bugs.sun.com/view_bug.do?bug_id=8019845 "Memory
leak during class redefenition" (not yet available.)
More information about the core-libs-dev