RFR[12] JDK-8179098 "Crypto AES/ECB encryption/decryption performance regression (introduced in jdk9b73)"

Anthony Scarpino anthony.scarpino at oracle.com
Mon Jul 9 22:14:02 UTC 2018


On 07/03/2018 02:03 PM, Valerie Peng wrote:
> Hi Tony,
> 
> Would you have time to review this? Instead of doing the bounds check 
> per block, the changes move the bounds check up one level.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8179098
> 
> Webrev: http://cr.openjdk.java.net/~valeriep/8179098/webrev.00/
> 
> Thanks,
> Valerie


ArrayUtil.java: Line 48
- It seems like your not throwing any ArrayIndexOutOfBoundsExceptions, 
is that intentional? The method in the try-catch seems to only throw 
IndexOutOfBoundsException, whole if() seems confusing to me.
thanks

Tony



More information about the security-dev mailing list