< prev index next >

src/hotspot/share/opto/c2compiler.cpp

Print this page




 570   case vmIntrinsics::_longBitsToDouble:
 571   case vmIntrinsics::_Reference_get:
 572   case vmIntrinsics::_Class_cast:
 573   case vmIntrinsics::_aescrypt_encryptBlock:
 574   case vmIntrinsics::_aescrypt_decryptBlock:
 575   case vmIntrinsics::_cipherBlockChaining_encryptAESCrypt:
 576   case vmIntrinsics::_cipherBlockChaining_decryptAESCrypt:
 577   case vmIntrinsics::_counterMode_AESCrypt:
 578   case vmIntrinsics::_sha_implCompress:
 579   case vmIntrinsics::_sha2_implCompress:
 580   case vmIntrinsics::_sha5_implCompress:
 581   case vmIntrinsics::_digestBase_implCompressMB:
 582   case vmIntrinsics::_multiplyToLen:
 583   case vmIntrinsics::_squareToLen:
 584   case vmIntrinsics::_mulAdd:
 585   case vmIntrinsics::_montgomeryMultiply:
 586   case vmIntrinsics::_montgomerySquare:
 587   case vmIntrinsics::_vectorizedMismatch:
 588   case vmIntrinsics::_ghash_processBlocks:
 589   case vmIntrinsics::_base64_encodeBlock:


 590   case vmIntrinsics::_updateCRC32:
 591   case vmIntrinsics::_updateBytesCRC32:
 592   case vmIntrinsics::_updateByteBufferCRC32:
 593   case vmIntrinsics::_updateBytesCRC32C:
 594   case vmIntrinsics::_updateDirectByteBufferCRC32C:
 595   case vmIntrinsics::_updateBytesAdler32:
 596   case vmIntrinsics::_updateByteBufferAdler32:
 597   case vmIntrinsics::_profileBoolean:
 598   case vmIntrinsics::_isCompileConstant:
 599   case vmIntrinsics::_Preconditions_checkIndex:
 600     break;
 601   default:
 602     return false;
 603   }
 604   return true;
 605 }
 606 
 607 int C2Compiler::initial_code_buffer_size() {
 608   assert(SegmentedCodeCache, "Should be only used with a segmented code cache");
 609   return Compile::MAX_inst_size + Compile::MAX_locs_size + initial_const_capacity;


 570   case vmIntrinsics::_longBitsToDouble:
 571   case vmIntrinsics::_Reference_get:
 572   case vmIntrinsics::_Class_cast:
 573   case vmIntrinsics::_aescrypt_encryptBlock:
 574   case vmIntrinsics::_aescrypt_decryptBlock:
 575   case vmIntrinsics::_cipherBlockChaining_encryptAESCrypt:
 576   case vmIntrinsics::_cipherBlockChaining_decryptAESCrypt:
 577   case vmIntrinsics::_counterMode_AESCrypt:
 578   case vmIntrinsics::_sha_implCompress:
 579   case vmIntrinsics::_sha2_implCompress:
 580   case vmIntrinsics::_sha5_implCompress:
 581   case vmIntrinsics::_digestBase_implCompressMB:
 582   case vmIntrinsics::_multiplyToLen:
 583   case vmIntrinsics::_squareToLen:
 584   case vmIntrinsics::_mulAdd:
 585   case vmIntrinsics::_montgomeryMultiply:
 586   case vmIntrinsics::_montgomerySquare:
 587   case vmIntrinsics::_vectorizedMismatch:
 588   case vmIntrinsics::_ghash_processBlocks:
 589   case vmIntrinsics::_base64_encodeBlock:
 590   case vmIntrinsics::_setBit:
 591   case vmIntrinsics::_clrBit:
 592   case vmIntrinsics::_updateCRC32:
 593   case vmIntrinsics::_updateBytesCRC32:
 594   case vmIntrinsics::_updateByteBufferCRC32:
 595   case vmIntrinsics::_updateBytesCRC32C:
 596   case vmIntrinsics::_updateDirectByteBufferCRC32C:
 597   case vmIntrinsics::_updateBytesAdler32:
 598   case vmIntrinsics::_updateByteBufferAdler32:
 599   case vmIntrinsics::_profileBoolean:
 600   case vmIntrinsics::_isCompileConstant:
 601   case vmIntrinsics::_Preconditions_checkIndex:
 602     break;
 603   default:
 604     return false;
 605   }
 606   return true;
 607 }
 608 
 609 int C2Compiler::initial_code_buffer_size() {
 610   assert(SegmentedCodeCache, "Should be only used with a segmented code cache");
 611   return Compile::MAX_inst_size + Compile::MAX_locs_size + initial_const_capacity;
< prev index next >