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

Jamsheed jamsheed.c.m at oracle.com
Mon Apr 1 07:12:54 UTC 2019


Hi Tobias,

On 01/04/19 12:19 PM, Tobias Hartmann wrote:
> Hi Jamsheed,
>
> On 29.03.19 15:19, Jamsheed wrote:
>> http://cr.openjdk.java.net/~jcm/8191278/webrev.02/
>>
>> 1) checks were made in StubRoutines unaligned arraycopy code range.
> Thanks for making these changes, looks good to me.
>
>> 2) tried to implement fastexit for x64(mac,linux,windows,solaris). others continue with old
>> implementation.
> What is the advantage of a fast exit over the old implementation?
Old implementation will have multiple exceptions and handling for bulk 
copy(depending for the size of copy). in fastexit case i exit arraycopy 
on first exception.

Best regards,

Jamsheed

>
>> 3) implementation like arm has auto increment mode for from and to addresses,  even aligning is done
>> this way. this may make to proceed with unaligned addresses.
> Okay, someone more familiar with the arm port should look at this.
>
> Best regards,
> Tobias


More information about the hotspot-dev mailing list