RFR(S): 8033405 - metaspace/stressHierarchy/stressHierarchy005 hangs in atexit handler

Zhengyu Gu zhengyu.gu at oracle.com
Wed Apr 23 19:02:35 UTC 2014


Look good to me.

-Zhengyu

On 4/23/2014 11:18 AM, Christian Tornqvist wrote:
>
> Hi everyone,
>
> This is a small fix for an issue on Windows where NMT tries to track a 
> free from a static destructor and ends up hanging on acquiring the 
> ThreadCritical lock. The fix is to make sure we shut down NMT before 
> the VM exits and then to not track malloc/free when NMT is shutting 
> down. Zhengyu is working on a rewrite of the NMT feature where this 
> won't be an issue, so this is a temporary workaround until then.
>
> Tested on Windows x64 using vm.quick and Hotspot jtreg tests.
>
> Webrev:
>
> http://cr.openjdk.java.net/~ctornqvi/webrev/8033405/webrev.00/ 
> <http://cr.openjdk.java.net/%7Ectornqvi/webrev/8033405/webrev.00/>
>
> Bug:
>
> https://bugs.openjdk.java.net/browse/JDK-8033405
>
> Thanks,
>
> Christian
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20140423/be6c99a1/attachment-0001.html>


More information about the hotspot-runtime-dev mailing list