Problem with vmoptions versus javaoptions

David Holmes david.holmes at
Sun Jun 24 23:32:07 UTC 2018

If I pass:

-vmoptions:"-XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler -Xcomp"

the tests run fine but take excruciatingly long as the compilations are 
also running in Xcomp mode. So I tried changing to -javaoptions and got:

Error: VM option 'UseJVMCICompiler' is experimental and must be enabled 
via -XX:+UnlockExperimentalVMOptions.
Error: The unlock option must precede 'UseJVMCICompiler'.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

It's like the options were not being parsed and passed correctly.

Any ideas?


More information about the jtreg-use mailing list