Mercurial > hg > truffle
comparison src/share/vm/compiler/compileBroker.cpp @ 4319:3c21eee8ab4d
Add installMethodCallback() to HotSpotRuntime.
Re-add tail call node and opcode.
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Tue, 24 Jan 2012 19:17:28 +0100 |
parents | feb590a8497f |
children | 723df37192d6 |
comparison
equal
deleted
inserted
replaced
4315:4c223446c28e | 4319:3c21eee8ab4d |
---|---|
1118 osr_bci, comp_level, | 1118 osr_bci, comp_level, |
1119 hot_method, hot_count, comment, | 1119 hot_method, hot_count, comment, |
1120 blocking);*/ | 1120 blocking);*/ |
1121 } | 1121 } |
1122 | 1122 |
1123 #ifdef GRAAL | |
1123 if (!JavaThread::current()->is_compiling()) { | 1124 if (!JavaThread::current()->is_compiling()) { |
1124 method->set_queued_for_compilation(); | 1125 method->set_queued_for_compilation(); |
1125 GraalCompiler::instance()->compile_method(method, osr_bci, blocking); | 1126 GraalCompiler::instance()->compile_method(method, osr_bci, blocking); |
1126 } else { | 1127 } else { |
1127 // Recursive compile request => ignore. | 1128 // Recursive compile request => ignore. |
1128 } | 1129 } |
1130 #endif | |
1129 | 1131 |
1130 /*if (blocking) { | 1132 /*if (blocking) { |
1131 wait_for_completion(task); | 1133 wait_for_completion(task); |
1132 }*/ | 1134 }*/ |
1133 } | 1135 } |