[12] RFR(S) 8207153: Some intrinsic tests take long time to run
Mikael Vidstedt
mikael.vidstedt at oracle.com
Mon Aug 13 16:44:45 UTC 2018
Two questions:
1. What happens if somebody decides to rename to Java method(s), but forgets to update the test?
2. Can/should we force this test to only run on machines where the underlying instructions are in fact available?
Cheers,
Mikael
> On Aug 10, 2018, at 5:05 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
>
> http://cr.openjdk.java.net/~kvn/8207153/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8207153
>
> Use WhitBox API isIntrinsicAvailable() to guard execution of TestAESMain.java and TestBase64.java.
> Also reduced number of loop iterations from 1M to 100K. Tests run with -Xbatch - compilation is guarantee with smaller number. And I checked results with +LogCompilation.
>
> Tested by running these 2 tests on X86 and SPARC.
> And run locally using intrinsics flag to switch them off to confirm that new guard in tests works.
>
> --
> Thanks,
> Vladimir
More information about the hotspot-compiler-dev
mailing list