Mercurial > hg > graal-jvmci-8
comparison src/share/vm/jvmci/jvmciRuntime.hpp @ 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 | 431b127fc0d1 |
children | 0e095e2c24e2 |
comparison
equal
deleted
inserted
replaced
21955:3ce35131bff2 | 21956:35affb9c707a |
---|---|
24 #ifndef SHARE_VM_JVMCI_JVMCI_RUNTIME_HPP | 24 #ifndef SHARE_VM_JVMCI_JVMCI_RUNTIME_HPP |
25 #define SHARE_VM_JVMCI_JVMCI_RUNTIME_HPP | 25 #define SHARE_VM_JVMCI_JVMCI_RUNTIME_HPP |
26 | 26 |
27 #include "interpreter/interpreter.hpp" | 27 #include "interpreter/interpreter.hpp" |
28 #include "memory/allocation.hpp" | 28 #include "memory/allocation.hpp" |
29 #include "runtime/arguments.hpp" | |
29 #include "runtime/deoptimization.hpp" | 30 #include "runtime/deoptimization.hpp" |
30 #include "jvmci/jvmciOptions.hpp" | 31 #include "jvmci/jvmciOptions.hpp" |
31 | 32 |
32 class ParseClosure : public StackObj { | 33 class ParseClosure : public StackObj { |
33 int _lineNo; | 34 int _lineNo; |
77 * @param name the name of a class implementing com.oracle.jvmci.service.Service | 78 * @param name the name of a class implementing com.oracle.jvmci.service.Service |
78 */ | 79 */ |
79 static Handle create_Service(const char* name, TRAPS); | 80 static Handle create_Service(const char* name, TRAPS); |
80 | 81 |
81 public: | 82 public: |
83 | |
84 /** | |
85 * Parses *.properties files in jre/lib/jvmci/ and adds the properties to plist. | |
86 */ | |
87 static void parse_properties(SystemProperty** plist); | |
82 | 88 |
83 /** | 89 /** |
84 * Parses the JVMCI specific VM options that were presented by the launcher and sets | 90 * Parses the JVMCI specific VM options that were presented by the launcher and sets |
85 * the relevants Java fields. | 91 * the relevants Java fields. |
86 */ | 92 */ |