223 case vmIntrinsics::_updateCRC32:
224 case vmIntrinsics::_updateBytesCRC32:
225 case vmIntrinsics::_updateByteBufferCRC32:
226 case vmIntrinsics::_compareAndSwapInt:
227 case vmIntrinsics::_compareAndSwapObject:
228 case vmIntrinsics::_getCharStringU:
229 case vmIntrinsics::_putCharStringU:
230 #ifdef TRACE_HAVE_INTRINSICS
231 case vmIntrinsics::_classID:
232 case vmIntrinsics::_threadID:
233 case vmIntrinsics::_counterTime:
234 #endif
235 break;
236 default:
237 return false; // Intrinsics not on the previous list are not available.
238 }
239
240 return true;
241 }
242
243 void Compiler::compile_method(ciEnv* env, ciMethod* method, int entry_bci, DirectiveSet* directive) {
244 BufferBlob* buffer_blob = CompilerThread::current()->get_buffer_blob();
245 assert(buffer_blob != NULL, "Must exist");
246 // invoke compilation
247 {
248 // We are nested here because we need for the destructor
249 // of Compilation to occur before we release the any
250 // competing compiler thread
251 ResourceMark rm;
252 Compilation c(this, env, method, entry_bci, buffer_blob, directive);
253 }
254 }
255
256
257 void Compiler::print_timers() {
258 Compilation::print_timers();
259 }
|
223 case vmIntrinsics::_updateCRC32:
224 case vmIntrinsics::_updateBytesCRC32:
225 case vmIntrinsics::_updateByteBufferCRC32:
226 case vmIntrinsics::_compareAndSwapInt:
227 case vmIntrinsics::_compareAndSwapObject:
228 case vmIntrinsics::_getCharStringU:
229 case vmIntrinsics::_putCharStringU:
230 #ifdef TRACE_HAVE_INTRINSICS
231 case vmIntrinsics::_classID:
232 case vmIntrinsics::_threadID:
233 case vmIntrinsics::_counterTime:
234 #endif
235 break;
236 default:
237 return false; // Intrinsics not on the previous list are not available.
238 }
239
240 return true;
241 }
242
243 void Compiler::compile_method(ciEnv* env, ciMethod* method, int entry_bci) {
244 BufferBlob* buffer_blob = CompilerThread::current()->get_buffer_blob();
245 assert(buffer_blob != NULL, "Must exist");
246 // invoke compilation
247 {
248 // We are nested here because we need for the destructor
249 // of Compilation to occur before we release the any
250 // competing compiler thread
251 ResourceMark rm;
252 Compilation c(this, env, method, entry_bci, buffer_blob);
253 }
254 }
255
256
257 void Compiler::print_timers() {
258 Compilation::print_timers();
259 }
|