[jdk17u-dev] RFR: 8350616: Skip ValidateHazardPtrsClosure in non-debug builds

Satyen Subramaniam ssubramaniam at openjdk.org
Tue Mar 11 16:52:35 UTC 2025


Backporting JDK-8350616: Skip ValidateHazardPtrsClosure in non-debug builds. Simple cleanup to skip debug code in non-debug builds, removing some overhead when working with very large numbers of threads. Ran GHA Sanity Checks, and local Tier 1 and Tier 2 tests. Patch is clean.

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

Commit messages:
 - Backport e43960a0170bf29b28ff4733e1c8c927947fb0bb

Changes: https://git.openjdk.org/jdk17u-dev/pull/3342/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3342&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8350616
  Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/3342.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3342/head:pull/3342

PR: https://git.openjdk.org/jdk17u-dev/pull/3342


More information about the jdk-updates-dev mailing list