Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/runtime/vmStructs.hpp Tue May 20 21:38:31 2014 +0200 +++ b/src/share/vm/runtime/vmStructs.hpp Tue May 20 13:46:34 2014 -0700 @@ -126,6 +126,10 @@ static void test(); #endif +#ifdef GRAAL + static void initHotSpotVMConfig(JNIEnv *env, jobject config); +#endif + private: // Look up a type in localHotSpotVMTypes using strcmp() (debug build only). // Returns 1 if found, 0 if not.