[8u] RFR: 8143925 : enhancing CounterMode.crypt() for AESCrypt.implEncryptBlock() + 8146581 : Minor corrections to the patch submitted for earlier bug id - 8143925

Anton Kozlov akozlov at azul.com
Fri Dec 20 01:33:49 UTC 2019


Hi,

please review a backport of JDK-8143925:

  http://cr.openjdk.java.net/~akozlov/8143925/hotspot.00/
  http://cr.openjdk.java.net/~akozlov/8143925/jdk.00/

and of JDK-8146581:

  http://cr.openjdk.java.net/~akozlov/8146581/webrev.00/

Adjustments for JDK-8143925 are
hotspot:
 * vm_version_aarch64.cpp is missing 
 * assembler_x86.[ch]pp - xorb and added instructions encoding with AVX-1
 * stubRoutines_x86.hpp, vm_version_x86.cpp - no CRC32C intrinsic
   - no generate_CRC32C_table
   - no UseCRC32CIntrinsics
 * stubRoutines_x86_{32,64}.hpp - code_size2 increased accrodingly
 * stubGenerator_x86_{32,64}.cpp - remove AVX-512 related code
 * vmSymbols.cpp, c2compiler.cpp, library_call.cpp  - adjustments for intrinsics framework, parameter to Node::operator new()
 * TestAESBase.java, TestAESMain.java - different path
jdk:
 * CounterMode.java - no @HotSpotIntrinsicCandidate, use existing range check utils

For JDK-8146581: 
 * vm_version_x86.cpp - no CRC32C intrinsic

Thanks,
Anton



More information about the jdk8u-dev mailing list