< prev index next >

src/hotspot/share/c1/c1_Compiler.cpp

Print this page
rev 63602 : Rename getReferences0 -> getReferencedObjects


 211   case vmIntrinsics::_updateCRC32:
 212   case vmIntrinsics::_updateBytesCRC32:
 213   case vmIntrinsics::_updateByteBufferCRC32:
 214 #if defined(S390) || defined(PPC64) || defined(AARCH64)
 215   case vmIntrinsics::_updateBytesCRC32C:
 216   case vmIntrinsics::_updateDirectByteBufferCRC32C:
 217 #endif
 218   case vmIntrinsics::_vectorizedMismatch:
 219   case vmIntrinsics::_compareAndSetInt:
 220   case vmIntrinsics::_compareAndSetReference:
 221   case vmIntrinsics::_getCharStringU:
 222   case vmIntrinsics::_putCharStringU:
 223 #ifdef JFR_HAVE_INTRINSICS
 224   case vmIntrinsics::_counterTime:
 225   case vmIntrinsics::_getEventWriter:
 226 #if defined(_LP64) || !defined(TRACE_ID_SHIFT)
 227   case vmIntrinsics::_getClassId:
 228 #endif
 229 #endif
 230     break;






 231   default:
 232     return false; // Intrinsics not on the previous list are not available.
 233   }
 234 
 235   return true;
 236 }
 237 
 238 void Compiler::compile_method(ciEnv* env, ciMethod* method, int entry_bci, bool install_code, DirectiveSet* directive) {
 239   BufferBlob* buffer_blob = CompilerThread::current()->get_buffer_blob();
 240   assert(buffer_blob != NULL, "Must exist");
 241   // invoke compilation
 242   {
 243     // We are nested here because we need for the destructor
 244     // of Compilation to occur before we release the any
 245     // competing compiler thread
 246     ResourceMark rm;
 247     Compilation c(this, env, method, entry_bci, buffer_blob, install_code, directive);
 248   }
 249 }
 250 


 211   case vmIntrinsics::_updateCRC32:
 212   case vmIntrinsics::_updateBytesCRC32:
 213   case vmIntrinsics::_updateByteBufferCRC32:
 214 #if defined(S390) || defined(PPC64) || defined(AARCH64)
 215   case vmIntrinsics::_updateBytesCRC32C:
 216   case vmIntrinsics::_updateDirectByteBufferCRC32C:
 217 #endif
 218   case vmIntrinsics::_vectorizedMismatch:
 219   case vmIntrinsics::_compareAndSetInt:
 220   case vmIntrinsics::_compareAndSetReference:
 221   case vmIntrinsics::_getCharStringU:
 222   case vmIntrinsics::_putCharStringU:
 223 #ifdef JFR_HAVE_INTRINSICS
 224   case vmIntrinsics::_counterTime:
 225   case vmIntrinsics::_getEventWriter:
 226 #if defined(_LP64) || !defined(TRACE_ID_SHIFT)
 227   case vmIntrinsics::_getClassId:
 228 #endif
 229 #endif
 230     break;
 231   case vmIntrinsics::_getReferencedObjects:
 232   case vmIntrinsics::_addressOf:
 233     break;
 234   case vmIntrinsics::_sizeOf:
 235     // temporarily disabled until it can handle arrays
 236     return false;
 237   default:
 238     return false; // Intrinsics not on the previous list are not available.
 239   }
 240 
 241   return true;
 242 }
 243 
 244 void Compiler::compile_method(ciEnv* env, ciMethod* method, int entry_bci, bool install_code, DirectiveSet* directive) {
 245   BufferBlob* buffer_blob = CompilerThread::current()->get_buffer_blob();
 246   assert(buffer_blob != NULL, "Must exist");
 247   // invoke compilation
 248   {
 249     // We are nested here because we need for the destructor
 250     // of Compilation to occur before we release the any
 251     // competing compiler thread
 252     ResourceMark rm;
 253     Compilation c(this, env, method, entry_bci, buffer_blob, install_code, directive);
 254   }
 255 }
 256 
< prev index next >