RFR: 8146001: Remove support for command line options from JVMCI

Doug Simon doug.simon at oracle.com
Tue Dec 22 14:50:42 UTC 2015


The effort of maintaining JVMCI across different JDK versions (including a potential backport to JDK7) is reduced by making JVMCI as small as possible. The support for command line options in JVMCI (based around the @Option annotation) is a good candidate for removal: 

1. It’s almost entirely implemented on top of system properties and so can be made to work without VM support. 
2. JVMCI itself only currently uses 3 options which can be replaced with usage of sun.misc.VM.getSavedProperty(). The latter ensures application code can’t override JVMCI properties set on the command line.

This change removes the JVMCI command line option support.

https://bugs.openjdk.java.net/browse/JDK-8146001
http://cr.openjdk.java.net/~dnsimon/8146001/

-Doug


More information about the hotspot-compiler-dev mailing list