[8u] RFR for JDK-8158373: SIGSEGV: Metadata::mark_on_stack
Shafi Ahmad
shafi.s.ahmad at oracle.com
Mon Jun 20 10:25:04 UTC 2016
Hi ,
Please review the code change for "JDK-8158373: SIGSEGV: Metadata::mark_on_stack" to jdk8u.
Summary:
In jdk8, MetadataOnStackMark is run in clean_metaspaces() rather than in ClassLoaderDataGraph::do_unloading(), so calling free_deallocate_list() without first marking is not safe.
Current code change move the call of free_deallocate_list() inside function free_deallocate_lists() which is called from clean_metaspaces().
Jdk8 Bug: https://bugs.openjdk.java.net/browse/JDK-8158373
Webrev link: http://cr.openjdk.java.net/~shshahma/8158373/webrev.00/
Testing: jprt and failed tests
Regards,
Shafi
More information about the hotspot-runtime-dev
mailing list