RFR(S/M) : 8243430 : use reproducible random in :vmTestbase_vm_gc

Kim Barrett kim.barrett at oracle.com
Sun May 3 17:23:46 UTC 2020

> On May 3, 2020, at 11:29 AM, Igor Ignatyev <igor.ignatyev at oracle.com> wrote:
>> On May 3, 2020, at 12:13 AM, Kim Barrett <kim.barrett at oracle.com> wrote:
>> I could be missing something, bug I don't see where either of these
>> use randomness:
>> test/hotspot/jtreg/vmTestbase/gc/gctests/gctest03/gctest03.java
> gctest03 starts Yellowthread at L#130, and Yellowthread uses nsk.share.test.LocalRandom in its 'run' method at L#167 of vmTestbase/gc/gctests/gctest03/appthread.java
>> test/hotspot/jtreg/vmTestbase/gc/gctests/gctest04/gctest04.java
> gctest04 starts reqdisp thread at L#97, and reqdisp uses n.s.t.LocalRandom in its 'run' method at L#211 of vmTestbase/gc/gctests/gctest04/reqgen.java

Thanks for the explanation.  I suspected something like that might be the case, but wasn’t spotting it.

More information about the hotspot-gc-dev mailing list