The test fails with the following error:
----------System.err:(13/652)----------
java.lang.AssertionError
at DoneMeansDone.main(DoneMeansDone.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:804)
I'm able to reproduce this both with hs-comp and main:
jtreg -jdk:/oracle/hs/build/linux-x86_64-normal-server-fastdebug/jdk/ -verbose:all -vmoptions:"-server -Xcomp -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions" test/java/util/concurrent/FutureTask/DoneMeansDone.java