RFR(XS): 8145333: -XX:+EnableJVMCI -XX:+UseJVMCICompiler -XX:-EnableJVMCI makes JVM crash

Jamsheed C m jamsheed.c.m at oracle.com
Thu Feb 11 18:44:07 UTC 2016



On 2/11/2016 11:31 PM, Christian Thalinger wrote:
>
>> On Feb 11, 2016, at 3:47 AM, Jamsheed C m <jamsheed.c.m at oracle.com 
>> <mailto:jamsheed.c.m at oracle.com>> wrote:
>>
>> Hi,
>>
>> Request for review
>>
>> bug url: https://bugs.openjdk.java.net/browse/JDK-8145333
>> web url: http://cr.openjdk.java.net/~thartmann/8145333/webrev.00/ 
>> <http://cr.openjdk.java.net/%7Ethartmann/8145333/webrev.00/>
>
> That looks alright but we should remove the constraints from all the 
> JVMCI command line flags because the way we use them is not supported.
Ok.
>
> Also, can you change the error message?  Right now it looks like this:
>
> $ ./build/macosx-x86_64-normal-server-release/jdk/bin/java 
> -XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler
> EnableJVMCI must be enabled
> Improperly specified VM option 'UseJVMCICompiler'
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
>
> I think with your changes we will only see the first line without 
> mentioning UseJVMCICompiler.  Is that correct?
Yes, i will add second line to the error message.

Best Regards,
Jamsheed
>>
>> Fix Summary: added jvmci flag consistency check after arg parsing.
>>
>> tests: jprt
>> unit test: command line verification
>>
>> Best Regards,
>> Jamsheed
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160212/d23263da/attachment.html>


More information about the hotspot-compiler-dev mailing list