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

Jamsheed jamsheed.c.m at oracle.com
Thu Apr 4 14:33:32 UTC 2019


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

yes, agree. instead will is is_oop check to not to capture.

Best regards,

Jamsheed



More information about the hotspot-dev mailing list