Mercurial > hg > truffle
comparison src/share/vm/graal/graalVMExits.cpp @ 2901:d577d07cedec
Added time measurement for phases.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 08 Jun 2011 17:01:16 +0200 |
parents | 75a99b4f1c98 |
children | c3faf3b842bb |
comparison
equal
deleted
inserted
replaced
2897:be276884eec0 | 2901:d577d07cedec |
---|---|
108 args.push_int(entry_bci); | 108 args.push_int(entry_bci); |
109 JavaCalls::call_interface(&result, vmExitsKlass(), vmSymbols::compileMethod_name(), vmSymbols::compileMethod_signature(), &args, THREAD); | 109 JavaCalls::call_interface(&result, vmExitsKlass(), vmSymbols::compileMethod_name(), vmSymbols::compileMethod_signature(), &args, THREAD); |
110 check_pending_exception("Error while calling compileMethod"); | 110 check_pending_exception("Error while calling compileMethod"); |
111 } | 111 } |
112 | 112 |
113 void VMExits::shutdownCompiler() { | |
114 assert(!name.is_null(), "just checking"); | |
115 JavaThread* THREAD = JavaThread::current(); | |
116 JavaValue result(T_VOID); | |
117 JavaCallArguments args; | |
118 args.push_oop(instance()); | |
119 JavaCalls::call_interface(&result, vmExitsKlass(), vmSymbols::shutdownCompiler_name(), vmSymbols::void_method_signature(), &args, THREAD); | |
120 check_pending_exception("Error while calling shutdownCompiler"); | |
121 } | |
122 | |
123 | |
113 oop VMExits::createRiMethodResolved(jlong vmId, Handle name, TRAPS) { | 124 oop VMExits::createRiMethodResolved(jlong vmId, Handle name, TRAPS) { |
114 assert(!name.is_null(), "just checking"); | 125 assert(!name.is_null(), "just checking"); |
115 JavaValue result(T_OBJECT); | 126 JavaValue result(T_OBJECT); |
116 JavaCallArguments args; | 127 JavaCallArguments args; |
117 args.push_oop(instance()); | 128 args.push_oop(instance()); |