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

Aleksey Shipilev shade at openjdk.org
Tue Mar 11 17:01:02 UTC 2025


On Tue, 11 Mar 2025 16:45:54 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:

> 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.

Cool. I wanted to do this myself, thanks for taking this on. While the change is relatively young, it is borderline trivial, and has useful real-world impact.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk21u-dev/pull/1473#pullrequestreview-2675426584


More information about the jdk-updates-dev mailing list