RFR 8191278: MappedByteBuffer bulk access memory failures are not handled gracefully

Andrew Haley aph at redhat.com
Fri Mar 1 09:07:14 UTC 2019


On 2/28/19 8:22 PM, Harold Seigel wrote:
> Please review this fix for JDK-8191278.  The fix uses the 
> GuardUnsafeAccess class in unsafe.cpp so that the signal handler will 
> know to convert SIGBUS signals to exceptions.

Are there any performance implications to this? It looks to me like there
won't be, but I wonder if tests were done to confirm this.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the hotspot-dev mailing list