RFR  java/lang/instrument/RedefineBigClass.sh needs modification
ivan.gerasimov at oracle.com
Thu Jul 4 14:14:53 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 JDK8!
> 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.)
As pointed out by Stefan Karlsson, the detected leak may not be related
to the class redefinition and be related to  instead.
However the webrev is still relevant, so welcome to review!
> Sincerely yours,
> Ivan Gerasimov
More information about the core-libs-dev