src/share/vm/c1/c1_Compiler.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Sdiff src/share/vm/c1

src/share/vm/c1/c1_Compiler.cpp

Print this page
rev 9003 : 8137167: JEP165: Compiler Control: Implementation task
Summary:
Reviewed-by:


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


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