javax.crypto.Cipher.Transform.patternCache is synchronizedMap and became scalability bottleneck when Cipher.getInstance() is frequently called. Should be replaced to ConcurrentHashMap as suggect in the comment to that field. The problem is important for SPECjvm2008:crypto.rsa and for SPECjvm2011. Fix is suggested.
|