Problem with vmoptions versus javaoptions

Martin Buchholz martinrb at google.com
Mon Jun 25 16:55:47 UTC 2018


Hi David,

I tried adding
 '-javaoptions:-XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler
-Xcomp'
to my jtreg invocation, and it worked!  I can tell something changed
because my test (FJExceptionTableLeak!) ran much more slowly!
I suspect shell quoting misstep.

On Sun, Jun 24, 2018 at 4:32 PM, David Holmes <david.holmes at oracle.com>
wrote:

> 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?
>
> Thanks,
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/jtreg-use/attachments/20180625/94269028/attachment.html>


More information about the jtreg-use mailing list