< prev index next >

src/hotspot/share/opto/c2compiler.cpp

Print this page




 608   case vmIntrinsics::_sha5_implCompress:
 609   case vmIntrinsics::_digestBase_implCompressMB:
 610   case vmIntrinsics::_multiplyToLen:
 611   case vmIntrinsics::_squareToLen:
 612   case vmIntrinsics::_mulAdd:
 613   case vmIntrinsics::_montgomeryMultiply:
 614   case vmIntrinsics::_montgomerySquare:
 615   case vmIntrinsics::_vectorizedMismatch:
 616   case vmIntrinsics::_ghash_processBlocks:
 617   case vmIntrinsics::_base64_encodeBlock:
 618   case vmIntrinsics::_updateCRC32:
 619   case vmIntrinsics::_updateBytesCRC32:
 620   case vmIntrinsics::_updateByteBufferCRC32:
 621   case vmIntrinsics::_updateBytesCRC32C:
 622   case vmIntrinsics::_updateDirectByteBufferCRC32C:
 623   case vmIntrinsics::_updateBytesAdler32:
 624   case vmIntrinsics::_updateByteBufferAdler32:
 625   case vmIntrinsics::_profileBoolean:
 626   case vmIntrinsics::_isCompileConstant:
 627   case vmIntrinsics::_Preconditions_checkIndex:







 628     break;
 629   default:
 630     return false;
 631   }
 632   return true;
 633 }
 634 
 635 int C2Compiler::initial_code_buffer_size(int const_size) {
 636   // See Compile::init_scratch_buffer_blob
 637   int locs_size = sizeof(relocInfo) * Compile::MAX_locs_size;
 638   int slop = 2 * CodeSection::end_slop(); // space between sections
 639   return Compile::MAX_inst_size + Compile::MAX_stubs_size + const_size + slop + locs_size;
 640 }


 608   case vmIntrinsics::_sha5_implCompress:
 609   case vmIntrinsics::_digestBase_implCompressMB:
 610   case vmIntrinsics::_multiplyToLen:
 611   case vmIntrinsics::_squareToLen:
 612   case vmIntrinsics::_mulAdd:
 613   case vmIntrinsics::_montgomeryMultiply:
 614   case vmIntrinsics::_montgomerySquare:
 615   case vmIntrinsics::_vectorizedMismatch:
 616   case vmIntrinsics::_ghash_processBlocks:
 617   case vmIntrinsics::_base64_encodeBlock:
 618   case vmIntrinsics::_updateCRC32:
 619   case vmIntrinsics::_updateBytesCRC32:
 620   case vmIntrinsics::_updateByteBufferCRC32:
 621   case vmIntrinsics::_updateBytesCRC32C:
 622   case vmIntrinsics::_updateDirectByteBufferCRC32C:
 623   case vmIntrinsics::_updateBytesAdler32:
 624   case vmIntrinsics::_updateByteBufferAdler32:
 625   case vmIntrinsics::_profileBoolean:
 626   case vmIntrinsics::_isCompileConstant:
 627   case vmIntrinsics::_Preconditions_checkIndex:
 628   case vmIntrinsics::_Continuation_getSP:
 629   case vmIntrinsics::_Continuation_getFP:
 630   case vmIntrinsics::_Continuation_getPC:
 631   case vmIntrinsics::_Continuation_doContinue:
 632   case vmIntrinsics::_Continuation_doYield:
 633   case vmIntrinsics::_Continuation_jump:
 634   case vmIntrinsics::_Continuation_runLevel:
 635     break;
 636   default:
 637     return false;
 638   }
 639   return true;
 640 }
 641 
 642 int C2Compiler::initial_code_buffer_size(int const_size) {
 643   // See Compile::init_scratch_buffer_blob
 644   int locs_size = sizeof(relocInfo) * Compile::MAX_locs_size;
 645   int slop = 2 * CodeSection::end_slop(); // space between sections
 646   return Compile::MAX_inst_size + Compile::MAX_stubs_size + const_size + slop + locs_size;
 647 }
< prev index next >