Please review the change the fixes the problem with the debugger not stopping 
in the low memory notification code.

The problem here is that the ServiceThread that calls these MXBean listeners is 
hidden from the external view that prevents the debugger from stopping in it.

The fix introduces new NotificationThread that is visible to the external view 
and offloads the ServiceThread from sending low memory and other notifications 
that could result in Java calls ( GC and diagnostic commands notifications) by 
moving these activities in this new NotificationThread. 

Testing: Mach5 tier1,tier2 and tier3 tests succeeded.

Webrev: https://cr.openjdk.java.net/~dtitov/8170299/webrev.01/ 
Bug: https://bugs.openjdk.java.net/browse/JDK-8170299

Thanks!
--Daniil


Reply via email to