122 |
122 |
123 address StubRoutines::_aescrypt_encryptBlock = NULL; |
123 address StubRoutines::_aescrypt_encryptBlock = NULL; |
124 address StubRoutines::_aescrypt_decryptBlock = NULL; |
124 address StubRoutines::_aescrypt_decryptBlock = NULL; |
125 address StubRoutines::_cipherBlockChaining_encryptAESCrypt = NULL; |
125 address StubRoutines::_cipherBlockChaining_encryptAESCrypt = NULL; |
126 address StubRoutines::_cipherBlockChaining_decryptAESCrypt = NULL; |
126 address StubRoutines::_cipherBlockChaining_decryptAESCrypt = NULL; |
|
127 address StubRoutines::_ghash_processBlocks = NULL; |
127 |
128 |
128 address StubRoutines::_sha1_implCompress = NULL; |
129 address StubRoutines::_sha1_implCompress = NULL; |
129 address StubRoutines::_sha1_implCompressMB = NULL; |
130 address StubRoutines::_sha1_implCompressMB = NULL; |
130 address StubRoutines::_sha256_implCompress = NULL; |
131 address StubRoutines::_sha256_implCompress = NULL; |
131 address StubRoutines::_sha256_implCompressMB = NULL; |
132 address StubRoutines::_sha256_implCompressMB = NULL; |
174 } |
175 } |
175 CodeBuffer buffer(_code1); |
176 CodeBuffer buffer(_code1); |
176 StubGenerator_generate(&buffer, false); |
177 StubGenerator_generate(&buffer, false); |
177 // When new stubs added we need to make sure there is some space left |
178 // When new stubs added we need to make sure there is some space left |
178 // to catch situation when we should increase size again. |
179 // to catch situation when we should increase size again. |
179 assert(buffer.insts_remaining() > 200, "increase code_size1"); |
180 assert(code_size1 == 0 || buffer.insts_remaining() > 200, "increase code_size1"); |
180 } |
181 } |
181 } |
182 } |
182 |
183 |
183 |
184 |
184 #ifdef ASSERT |
185 #ifdef ASSERT |
229 } |
230 } |
230 CodeBuffer buffer(_code2); |
231 CodeBuffer buffer(_code2); |
231 StubGenerator_generate(&buffer, true); |
232 StubGenerator_generate(&buffer, true); |
232 // When new stubs added we need to make sure there is some space left |
233 // When new stubs added we need to make sure there is some space left |
233 // to catch situation when we should increase size again. |
234 // to catch situation when we should increase size again. |
234 assert(buffer.insts_remaining() > 200, "increase code_size2"); |
235 assert(code_size2 == 0 || buffer.insts_remaining() > 200, "increase code_size2"); |
235 } |
236 } |
236 |
237 |
237 #ifdef ASSERT |
238 #ifdef ASSERT |
238 |
239 |
239 #define TEST_ARRAYCOPY(type) \ |
240 #define TEST_ARRAYCOPY(type) \ |