Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/arguments.cpp @ 21956:35affb9c707a
add properties from <jdk>/jre/lib/jvmci/*.properties files to system properties
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sat, 13 Jun 2015 00:22:48 +0200 |
parents | 12dcf5ba8b34 |
children | c28cb37b2e1d |
comparison
equal
deleted
inserted
replaced
21955:3ce35131bff2 | 21956:35affb9c707a |
---|---|
42 #include "services/memTracker.hpp" | 42 #include "services/memTracker.hpp" |
43 #include "utilities/defaultStream.hpp" | 43 #include "utilities/defaultStream.hpp" |
44 #include "utilities/macros.hpp" | 44 #include "utilities/macros.hpp" |
45 #include "utilities/stringUtils.hpp" | 45 #include "utilities/stringUtils.hpp" |
46 #include "utilities/taskqueue.hpp" | 46 #include "utilities/taskqueue.hpp" |
47 #ifdef JVMCI | |
48 #include "jvmci/jvmciRuntime.hpp" | |
49 #endif | |
47 #ifdef TARGET_OS_FAMILY_linux | 50 #ifdef TARGET_OS_FAMILY_linux |
48 # include "os_linux.inline.hpp" | 51 # include "os_linux.inline.hpp" |
49 #endif | 52 #endif |
50 #ifdef TARGET_OS_FAMILY_solaris | 53 #ifdef TARGET_OS_FAMILY_solaris |
51 # include "os_solaris.inline.hpp" | 54 # include "os_solaris.inline.hpp" |
211 PropertyList_add(&_system_properties, _java_class_path); | 214 PropertyList_add(&_system_properties, _java_class_path); |
212 PropertyList_add(&_system_properties, _sun_boot_class_path); | 215 PropertyList_add(&_system_properties, _sun_boot_class_path); |
213 | 216 |
214 // Set OS specific system properties values | 217 // Set OS specific system properties values |
215 os::init_system_properties_values(); | 218 os::init_system_properties_values(); |
219 | |
220 #ifdef JVMCI | |
221 JVMCIRuntime::parse_properties(&_system_properties); | |
222 #endif | |
216 } | 223 } |
217 | 224 |
218 | 225 |
219 // Update/Initialize System properties after JDK version number is known | 226 // Update/Initialize System properties after JDK version number is known |
220 void Arguments::init_version_specific_system_properties() { | 227 void Arguments::init_version_specific_system_properties() { |