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

Andrew Haley aph at redhat.com
Thu Apr 4 13:53:10 UTC 2019


On 4/4/19 8:00 AM, Tobias Hartmann wrote:
> this looks reasonable to me although the code is getting quite complicated to handle this edge case.

Yeah, it really is. Can't we just assume that *any* fault in these stubs is
caused via Unsafe, and get rid of bool unsafe_copy_code_range?

> Someone should review/test the aarch64/arm/ppc changes.


-- 
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