1.1 --- a/src/share/vm/runtime/stubRoutines.cpp Tue Feb 04 17:38:01 2020 +0800 1.2 +++ b/src/share/vm/runtime/stubRoutines.cpp Tue Feb 04 18:13:14 2020 +0800 1.3 @@ -124,6 +124,7 @@ 1.4 address StubRoutines::_aescrypt_decryptBlock = NULL; 1.5 address StubRoutines::_cipherBlockChaining_encryptAESCrypt = NULL; 1.6 address StubRoutines::_cipherBlockChaining_decryptAESCrypt = NULL; 1.7 +address StubRoutines::_ghash_processBlocks = NULL; 1.8 1.9 address StubRoutines::_sha1_implCompress = NULL; 1.10 address StubRoutines::_sha1_implCompressMB = NULL; 1.11 @@ -176,7 +177,7 @@ 1.12 StubGenerator_generate(&buffer, false); 1.13 // When new stubs added we need to make sure there is some space left 1.14 // to catch situation when we should increase size again. 1.15 - assert(buffer.insts_remaining() > 200, "increase code_size1"); 1.16 + assert(code_size1 == 0 || buffer.insts_remaining() > 200, "increase code_size1"); 1.17 } 1.18 } 1.19 1.20 @@ -231,7 +232,7 @@ 1.21 StubGenerator_generate(&buffer, true); 1.22 // When new stubs added we need to make sure there is some space left 1.23 // to catch situation when we should increase size again. 1.24 - assert(buffer.insts_remaining() > 200, "increase code_size2"); 1.25 + assert(code_size2 == 0 || buffer.insts_remaining() > 200, "increase code_size2"); 1.26 } 1.27 1.28 #ifdef ASSERT