Mercurial > hg > truffle
comparison src/share/vm/graal/graalCompiler.cpp @ 10672:e7d07c9bb779
Removed priority compilation queue.
Fixed another race condition in the compilation queue.
Removed Graal-specific compilation policy.
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Tue, 09 Jul 2013 17:53:58 +0200 |
parents | 4b88e5c93f04 |
children | 4e6d6122c558 |
comparison
equal
deleted
inserted
replaced
10665:dcee58529a1c | 10672:e7d07c9bb779 |
---|---|
169 | 169 |
170 assert(_initialized, "must already be initialized"); | 170 assert(_initialized, "must already be initialized"); |
171 ResourceMark rm; | 171 ResourceMark rm; |
172 JavaThread::current()->set_is_compiling(true); | 172 JavaThread::current()->set_is_compiling(true); |
173 Handle holder = GraalCompiler::createHotSpotResolvedObjectType(method, CHECK); | 173 Handle holder = GraalCompiler::createHotSpotResolvedObjectType(method, CHECK); |
174 int priority = GRAALVM_ONLY(method->method_counters()->graal_priority()) NOT_GRAALVM(0); | 174 VMToCompiler::compileMethod(method(), holder, entry_bci, blocking); |
175 VMToCompiler::compileMethod(method(), holder, entry_bci, blocking, priority); | |
176 JavaThread::current()->set_is_compiling(false); | 175 JavaThread::current()->set_is_compiling(false); |
177 } | 176 } |
178 | 177 |
179 // Compilation entry point for methods | 178 // Compilation entry point for methods |
180 void GraalCompiler::compile_method(ciEnv* env, ciMethod* target, int entry_bci) { | 179 void GraalCompiler::compile_method(ciEnv* env, ciMethod* target, int entry_bci) { |