[aarch64-port-dev ] RFR: 8215202: AArch64: jtreg test test/jdk/sun/nio/cs/FindEncoderBugs.java fails

Nick Gasson (Arm Technology China) Nick.Gasson at arm.com
Wed Dec 12 01:13:29 UTC 2018


Hi Andrew,

> One thing: is randomChar() fully reproducible? That is to say, are
> we sure that we always run the same tests?

It uses jdk.test.lib.RandomFactory which seeds the RNG from the "seed"
system property. So if this is set when running jtreg the results are
fully reproducible.

Thanks,
Nick

> -----Original Message-----
> From: Andrew Haley <aph at redhat.com>
> Sent: 12 December 2018 00:23
> To: Nick Gasson (Arm Technology China) <Nick.Gasson at arm.com>; hotspot-
> compiler-dev at openjdk.java.net
> Cc: nio-dev at openjdk.java.net; nd <nd at arm.com>; aarch64-port-
> dev at openjdk.java.net
> Subject: Re: [aarch64-port-dev ] RFR: 8215202: AArch64: jtreg test
> test/jdk/sun/nio/cs/FindEncoderBugs.java fails
> 
> Good catch, again.
> 
> On 12/11/18 8:05 AM, Nick Gasson (Arm Technology China) wrote:
> > Also Extended the FindEncoderBugs test so that it hits all cases in
> > the intrinsic assembly. Currently only the final NEXT_1 section is
> > covered by this test.
> 
> One thing: is randomChar() fully reproducible? That is to say, are
> we sure that we always run the same tests?
> 
> --
> Andrew Haley
> Java Platform Lead Engineer
> Red Hat UK Ltd. <https://www.redhat.com>
> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the aarch64-port-dev mailing list