Mercurial > hg > graal-jvmci-8
comparison src/share/vm/jvmci/jvmciRuntime.hpp @ 22429:a1b0a76567c7
Select default compiler from jvmci.compiler system property.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Mon, 17 Aug 2015 18:32:44 +0200 |
parents | 4f6caa445b92 |
children | 76af33d4d504 |
comparison
equal
deleted
inserted
replaced
22428:ca5200277c37 | 22429:a1b0a76567c7 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
56 | 56 |
57 class JVMCIRuntime: public CHeapObj<mtCompiler> { | 57 class JVMCIRuntime: public CHeapObj<mtCompiler> { |
58 private: | 58 private: |
59 static jobject _HotSpotJVMCIRuntime_instance; | 59 static jobject _HotSpotJVMCIRuntime_instance; |
60 static bool _HotSpotJVMCIRuntime_initialized; | 60 static bool _HotSpotJVMCIRuntime_initialized; |
61 static const char* _compiler; | |
61 static const char* _options; | 62 static const char* _options; |
62 | 63 |
63 static bool _shutdown_called; | 64 static bool _shutdown_called; |
64 | 65 |
65 /** | 66 /** |
73 | 74 |
74 /** | 75 /** |
75 * Parses *.properties files in jre/lib/jvmci/ and adds the properties to plist. | 76 * Parses *.properties files in jre/lib/jvmci/ and adds the properties to plist. |
76 */ | 77 */ |
77 static void parse_properties(SystemProperty** plist); | 78 static void parse_properties(SystemProperty** plist); |
79 | |
80 /** | |
81 * Saves the value of the "jvmci.compiler" system property for processing | |
82 * when JVMCI is initialized. | |
83 */ | |
84 static void save_compiler(const char* compiler); | |
78 | 85 |
79 /** | 86 /** |
80 * Saves the value of the "jvmci.options" system property for processing | 87 * Saves the value of the "jvmci.options" system property for processing |
81 * when JVMCI is initialized. | 88 * when JVMCI is initialized. |
82 */ | 89 */ |