comparison src/share/vm/runtime/vmStructs.hpp @ 15805:dffc37fa7157

initialize HotSpotVMConfig fields efficiently from C++
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 20 May 2014 13:46:34 -0700
parents 8b46b0196eb0
children 240cc9a901fb
comparison
equal deleted inserted replaced
15804:bde6fbdbbe38 15805:dffc37fa7157
124 #ifndef PRODUCT 124 #ifndef PRODUCT
125 // Execute unit tests 125 // Execute unit tests
126 static void test(); 126 static void test();
127 #endif 127 #endif
128 128
129 #ifdef GRAAL
130 static void initHotSpotVMConfig(JNIEnv *env, jobject config);
131 #endif
132
129 private: 133 private:
130 // Look up a type in localHotSpotVMTypes using strcmp() (debug build only). 134 // Look up a type in localHotSpotVMTypes using strcmp() (debug build only).
131 // Returns 1 if found, 0 if not. 135 // Returns 1 if found, 0 if not.
132 // debug_only(static int findType(const char* typeName);) 136 // debug_only(static int findType(const char* typeName);)
133 static int findType(const char* typeName); 137 static int findType(const char* typeName);