Mercurial > hg > graal-jvmci-8
diff src/share/vm/jvmci/jvmciRuntime.hpp @ 22601:bc2d4dac0cd3
JVMCI options are now passed as individual -Djvmci.option.<name>=<value> arguments on the command line instead of -Djvmci.options=<multiple options settings separated by spaces>
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 22 Sep 2015 22:29:28 +0200 |
parents | 569c82ebb96e |
children | d3930fdd1eb3 |
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciRuntime.hpp Tue Sep 22 11:57:49 2015 -0700 +++ b/src/share/vm/jvmci/jvmciRuntime.hpp Tue Sep 22 22:29:28 2015 +0200 @@ -59,7 +59,8 @@ static jobject _HotSpotJVMCIRuntime_instance; static bool _HotSpotJVMCIRuntime_initialized; static const char* _compiler; - static const char* _options; + static int _options_count; + static SystemProperty** _options; static int _trivial_prefixes_count; static char** _trivial_prefixes; @@ -87,10 +88,13 @@ static void save_compiler(const char* compiler); /** - * Saves the value of the "jvmci.options" system property for processing + * Saves the value of the system properties starting with "jvmci.option." for processing * when JVMCI is initialized. + * + * @param props the head of the system property list + * @return JNI_ERR if a JVMCI option has a zero length value, JNI_OK otherwise */ - static void save_options(const char* options); + static jint save_options(SystemProperty* props); /** * Ensures that the JVMCI class loader is initialized and the well known JVMCI classes are loaded.