Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalCompiler.cpp @ 5056:2f2c6347fce4
comments cleanup/retagging
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Thu, 08 Mar 2012 15:01:19 +0100 |
parents | bf63d72879aa |
children | 5e9f38419819 |
comparison
equal
deleted
inserted
replaced
5053:c53115427ff9 | 5056:2f2c6347fce4 |
---|---|
260 instanceKlass::cast(HotSpotMethodResolved::klass())->initialize(CHECK_NULL); | 260 instanceKlass::cast(HotSpotMethodResolved::klass())->initialize(CHECK_NULL); |
261 Handle obj = instanceKlass::cast(HotSpotMethodResolved::klass())->allocate_instance(CHECK_NULL); | 261 Handle obj = instanceKlass::cast(HotSpotMethodResolved::klass())->allocate_instance(CHECK_NULL); |
262 assert(obj() != NULL, "must succeed in allocating instance"); | 262 assert(obj() != NULL, "must succeed in allocating instance"); |
263 | 263 |
264 HotSpotMethodResolved::set_compiler(obj, VMToCompiler::compilerInstance()()); | 264 HotSpotMethodResolved::set_compiler(obj, VMToCompiler::compilerInstance()()); |
265 // (tw) Cannot use reflection here, because the compiler thread could dead lock with the running application. | 265 // (thomaswue) Cannot use reflection here, because the compiler thread could dead lock with the running application. |
266 // oop reflected = getReflectedMethod(method(), CHECK_NULL); | 266 // oop reflected = getReflectedMethod(method(), CHECK_NULL); |
267 HotSpotMethodResolved::set_javaMirror(obj, method()); | 267 HotSpotMethodResolved::set_javaMirror(obj, method()); |
268 HotSpotMethodResolved::set_name(obj, name()); | 268 HotSpotMethodResolved::set_name(obj, name()); |
269 | 269 |
270 KlassHandle klass = method->method_holder(); | 270 KlassHandle klass = method->method_holder(); |