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

Jamsheed jamsheed.c.m at oracle.com
Fri Apr 5 13:11:52 UTC 2019


Hi,

On 04/04/19 7:23 PM, Andrew Haley 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?

Thanks for the feedback Tobias, Andrew, removed unsafe_copy_code_range.

webrev: http://cr.openjdk.java.net/~jcm/8191278/webrev.04/

test don't pass in aarch64 in any modes in the machine i tested. so 
disabled the test for aarch64.

Best regards,

Jamsheed



More information about the hotspot-dev mailing list