Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/thread.cpp @ 3938:e6b1331a51d2
7086585: make Java field injection more flexible
Reviewed-by: jrose, twisti, kvn, coleenp
author | never |
---|---|
date | Sat, 10 Sep 2011 17:29:02 -0700 |
parents | 7588156f5cf9 |
children | f08d439fab8c 4dfb2df418f2 |
comparison
equal
deleted
inserted
replaced
3937:c565834fb592 | 3938:e6b1331a51d2 |
---|---|
964 } | 964 } |
965 | 965 |
966 // General purpose hook into Java code, run once when the VM is initialized. | 966 // General purpose hook into Java code, run once when the VM is initialized. |
967 // The Java library method itself may be changed independently from the VM. | 967 // The Java library method itself may be changed independently from the VM. |
968 static void call_postVMInitHook(TRAPS) { | 968 static void call_postVMInitHook(TRAPS) { |
969 klassOop k = SystemDictionary::sun_misc_PostVMInitHook_klass(); | 969 klassOop k = SystemDictionary::PostVMInitHook_klass(); |
970 instanceKlassHandle klass (THREAD, k); | 970 instanceKlassHandle klass (THREAD, k); |
971 if (klass.not_null()) { | 971 if (klass.not_null()) { |
972 JavaValue result(T_VOID); | 972 JavaValue result(T_VOID); |
973 JavaCalls::call_static(&result, klass, vmSymbols::run_method_name(), | 973 JavaCalls::call_static(&result, klass, vmSymbols::run_method_name(), |
974 vmSymbols::void_method_signature(), | 974 vmSymbols::void_method_signature(), |