[10]RFR: 6415680: (bf) MappedByteBuffer.get() can provoke crash with EXCEPTION_IN_PAGE_ERROR

jamsheed jamsheed.c.m at oracle.com
Tue Nov 14 20:23:18 UTC 2017


only problem i see in autoincrement is in  unsafe.setMemory(base, size, 
(byte) 0), may be i will skip this case.

and maintain same implementation for copy and copyswap, as i assume 
autoincrement  for count wouldn't happen in single instruction for these 
two case.

Best regards,
Jamsheed
On Wednesday 15 November 2017 01:28 AM, jamsheed wrote:
> sorry, we do loop, even for autoincrement case only if both from and 
> to are invalid we may loop for ever, i didn't assume that case
>
> Best regards,
>
> Jamsheed
>
>
> On Wednesday 15 November 2017 01:02 AM, jamsheed wrote:
>> Second, what if the loop is using auto-increment instructions? 
>> Skipping to the next instruction would mean we loop forever if the 
>> increment never happens. 
>



More information about the hotspot-runtime-dev mailing list