RFR (S) 8024667: VM crashes with "assert(method() != NULL) failed: must have set method"
harold seigel
harold.seigel at oracle.com
Thu Oct 10 06:59:35 PDT 2013
Hi,
Please review this fix for bug 8024667. The problem occurred because
function InstanceKlass::deallocate_contents() was erroneously
deallocating memory that was in the CDS shared region. This change fixes
the problem by checking if the memory is in the shared region before
allowing the deallocation. The change also added asserts as an
additional check.
Open webrev: http://cr.openjdk.java.net/~hseigel/bug_8024667/
<http://cr.openjdk.java.net/%7Ehseigel/bug_8024667/>
Bug Link: https://bugs.openjdk.java.net/browse/JDK-8024667
The fix was tested with JPRT and with UTE and JTREG tests with both
-client and -server. It was also tested using the failed tests that
were reported in bugs 8024667 and 8026055.
Thanks, Harold
More information about the hotspot-runtime-dev
mailing list