Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.cpp @ 13040:f8b56489e455
Merge
author | mgronlun |
---|---|
date | Fri, 01 Nov 2013 17:10:31 +0000 |
parents | 292050e5d5ea |
children | 096c224171c4 dbcb1dd0785b 2b8e28fdf503 0e6af9b390af |
comparison
equal
deleted
inserted
replaced
13038:910026b800b8 | 13040:f8b56489e455 |
---|---|
1095 } | 1095 } |
1096 | 1096 |
1097 // General purpose hook into Java code, run once when the VM is initialized. | 1097 // General purpose hook into Java code, run once when the VM is initialized. |
1098 // The Java library method itself may be changed independently from the VM. | 1098 // The Java library method itself may be changed independently from the VM. |
1099 static void call_postVMInitHook(TRAPS) { | 1099 static void call_postVMInitHook(TRAPS) { |
1100 Klass* k = SystemDictionary::PostVMInitHook_klass(); | 1100 Klass* k = SystemDictionary::resolve_or_null(vmSymbols::sun_misc_PostVMInitHook(), THREAD); |
1101 instanceKlassHandle klass (THREAD, k); | 1101 instanceKlassHandle klass (THREAD, k); |
1102 if (klass.not_null()) { | 1102 if (klass.not_null()) { |
1103 JavaValue result(T_VOID); | 1103 JavaValue result(T_VOID); |
1104 JavaCalls::call_static(&result, klass, vmSymbols::run_method_name(), | 1104 JavaCalls::call_static(&result, klass, vmSymbols::run_method_name(), |
1105 vmSymbols::void_method_signature(), | 1105 vmSymbols::void_method_signature(), |