RFR(S): 8184271: Time related C1 intrinsics produce inconsistent results when floating around
Tobias Hartmann
tobias.hartmann at oracle.com
Fri Jul 14 08:17:57 UTC 2017
Thanks Vladimir!
Best regards,
Tobias
On 13.07.2017 17:40, Vladimir Kozlov wrote:
> Good.
>
> Thanks,
> Vladimir K
>
> On 7/13/17 7:24 AM, Tobias Hartmann wrote:
>> Hi,
>>
>> please review the following patch:
>> https://bugs.openjdk.java.net/browse/JDK-8184271
>> http://cr.openjdk.java.net/~thartmann/8184271/webrev.00/
>>
>> The problem is that the C1 intrinsics for System.nanoTime(), System.currentTimeMillis() and JVM.counterTime() are not pinned and may produce inconsistent results when floating around (see tests). The solution is to not unpin them.
>>
>> Thanks to Vladimir I. for the analysis!
>>
>> Tested with JPRT and RBT (running).
>>
>> Thanks,
>> Tobias
>>
More information about the hotspot-compiler-dev
mailing list