Code review request: 2 Native Memory Tracking bugs

Zhengyu Gu zhengyu.gu at oracle.com
Wed Aug 1 10:39:55 PDT 2012


These are two simple fixes for NMT.

CR: 7185614 NMT ON: "check by caller" assertion failed on nsk 
ThreadMXBean test 
(http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7185614)
   The assertion was incorrect, since there can be a race condition 
between caller's check and assertion. The assertion is now removed, 
shutdown in progress is checked instead.

CR: 7187429 NMT ON: Merge failure should cause NMT to shutdown 
(http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7187429)
   Out-of-memory is the only cause to merge failure, to be consistent, 
NMT should shutdown itself.

Webrev: http://cr.openjdk.java.net/~zgu/7187429/webrev.00/


Thanks,

-Zhengyu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20120801/8e2f2129/attachment.html 


More information about the hotspot-runtime-dev mailing list