comparison src/share/vm/jvmci/jvmciRuntime.hpp @ 22454:76af33d4d504

Make jvmci redefinition safe
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Fri, 21 Aug 2015 11:57:29 -0700
parents a1b0a76567c7
children 07d9f0909560
comparison
equal deleted inserted replaced
22453:d6bbd5d8d81e 22454:76af33d4d504
52 int lineNo() { return _lineNo; } 52 int lineNo() { return _lineNo; }
53 bool is_aborted() { return _abort; } 53 bool is_aborted() { return _abort; }
54 void set_filename(char* path) {_filename = path; _lineNo = 0;} 54 void set_filename(char* path) {_filename = path; _lineNo = 0;}
55 }; 55 };
56 56
57 class JVMCIRuntime: public CHeapObj<mtCompiler> { 57 class JVMCIRuntime: public AllStatic {
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* _compiler;
62 static const char* _options; 62 static const char* _options;
121 121
122 /** 122 /**
123 * Explicitly initialize HotSpotJVMCIRuntime itself 123 * Explicitly initialize HotSpotJVMCIRuntime itself
124 */ 124 */
125 static void initialize_HotSpotJVMCIRuntime(); 125 static void initialize_HotSpotJVMCIRuntime();
126
127 static void metadata_do(void f(Metadata*));
126 128
127 static void shutdown(); 129 static void shutdown();
128 130
129 static bool shutdown_called() { 131 static bool shutdown_called() {
130 return _shutdown_called; 132 return _shutdown_called;