Mercurial > hg > truffle
comparison src/share/vm/c1x/c1x_Compiler.cpp @ 2499:ad9b14650e15
Fixed an issue with RiType.superType (wrong cast in the C++ part).
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 26 Apr 2011 16:46:23 +0200 |
parents | 4e5515d09314 |
children | 6594e6d8bfe7 |
comparison
equal
deleted
inserted
replaced
2498:55caa3034872 | 2499:ad9b14650e15 |
---|---|
102 HandleMark hm; | 102 HandleMark hm; |
103 | 103 |
104 initialize_buffer_blob(); | 104 initialize_buffer_blob(); |
105 VmIds::initializeObjects(); | 105 VmIds::initializeObjects(); |
106 | 106 |
107 TRACE_C1X_2("C1XCompiler::compile_method"); | |
108 | |
107 CompilerThread::current()->set_compiling(true); | 109 CompilerThread::current()->set_compiling(true); |
108 methodOop method = (methodOop) target->get_oop(); | 110 methodOop method = (methodOop) target->get_oop(); |
109 VMExits::compileMethod(VmIds::add<methodOop>(method), VmIds::toString<Handle>(method->name(), THREAD), entry_bci); | 111 VMExits::compileMethod(VmIds::add<methodOop>(method), VmIds::toString<Handle>(method->name(), THREAD), entry_bci); |
110 CompilerThread::current()->set_compiling(false); | 112 CompilerThread::current()->set_compiling(false); |
111 | 113 |
112 VmIds::cleanupLocalObjects(); | 114 VmIds::cleanupLocalObjects(); |
115 TRACE_C1X_2("C1XCompiler::compile_method exit"); | |
113 } | 116 } |
114 | 117 |
115 // Print compilation timers and statistics | 118 // Print compilation timers and statistics |
116 void C1XCompiler::print_timers() { | 119 void C1XCompiler::print_timers() { |
117 TRACE_C1X_1("C1XCompiler::print_timers"); | 120 TRACE_C1X_1("C1XCompiler::print_timers"); |