RFR(T) : 8239500 : jittester shouldn't use System::nanoTime and currentTimeMills in generated code

Leonid Mesnik leonid.mesnik at oracle.com
Tue Feb 25 19:10:52 UTC 2020


The fix looks good.

I think that we also need to exclude getenv*  and getProperties(y) 
methods. Their results depend on host. So generated code like  
System.getenv().size() is not determined.


Leonid

On 2/25/20 10:29 AM, Igor Ignatyev wrote:
> http://cr.openjdk.java.net/~iignatyev//8239500/webrev.00
>> 2 lines changed: 2 ins; 0 del; 0 mod;
> Hi all,
>
> could you please review this small and trivial patch which prohibits usage of System::nanoTime and currentTimeMills methods by jit-tester due to their indeterminism?
>
> JBS: https://bugs.openjdk.java.net/browse/JDK-8239500
> webrev: http://cr.openjdk.java.net/~iignatyev//8239500/webrev.00
>
> Thanks,
> -- Igor
>


More information about the hotspot-compiler-dev mailing list