RFR: 8254042: gtest/GTestWrapper.java failed os.test_random

Kim Barrett kim.barrett at oracle.com
Wed Nov 25 23:51:48 UTC 2020


> On Nov 25, 2020, at 12:25 AM, Thomas Stuefe <stuefe at openjdk.java.net> wrote:
> Why is someone concurrently changing the seed? I thought "TEST" tests do not start the VM? Or is it that some earlier test already did?

I was surprised by this too.

"TEST" tests and "TEST_VM" tests are collected in a single list and
run sequentially.  The first "TEST_VM" test that gets run by that will
trigger VM initialization, and all the remaining tests (whether "TEST"
or "TEST_VM") get run in the resulting context.

I don't much like that behavior.



More information about the hotspot-dev mailing list