RFR: 8256018: Adler32/CRC32/CRC32C missing reachabilityFence

Lance Andersen lancea at openjdk.java.net
Tue Nov 10 21:32:04 UTC 2020


Hi, 

Please review the fix for JDK-8256018 which addresses the issue that  the update(ByteBuffer)  methods of Adler32, CRC32, and CRC32C should use Reference.reachabilityFence to ensure that direct byte buffer are kept kept alive when they are accessed directly.

The Mach5 jdk-tier1, jdk-tier2, jdk-tier3 as well as the  jck:api/java_util/zip,jck:api/java_util/jar continue to run clean.

Best
Lance

-------------

Commit messages:
 - Adler32/CRC32/CRC32C missing reachabilityFence

Changes: https://git.openjdk.java.net/jdk/pull/1149/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1149&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8256018
  Stats: 23 lines in 3 files changed: 16 ins; 0 del; 7 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1149.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1149/head:pull/1149

PR: https://git.openjdk.java.net/jdk/pull/1149


More information about the core-libs-dev mailing list