[8u] RFR for JDK-8158373: SIGSEGV: Metadata::mark_on_stack

Coleen Phillimore coleen.phillimore at oracle.com
Mon Jun 20 17:19:58 UTC 2016


This looks good.  Thank you for fixing it!
Coleen

On 6/20/16 6:25 AM, Shafi Ahmad wrote:
> 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