Integrated: 8350616: Skip ValidateHazardPtrsClosure in non-debug builds

David Holmes dholmes at openjdk.org
Wed Feb 26 20:18:03 UTC 2025


On Tue, 25 Feb 2025 02:33:23 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Simple cleanup to skip debug code in a non-debug build. This removes some overhead when working with very large numbers of threads. Basic perf testing starting a new thread when 20000 already exist:
> 
> Before: 532377 ns
> After:  361178 ns
> 
> which is 32% improvement.
> 
> Testing:
>   - tiers 1-3 sanity
> 
> Thanks

This pull request has now been integrated.

Changeset: e43960a0
Author:    David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e43960a0170bf29b28ff4733e1c8c927947fb0bb
Stats:     4 lines in 1 file changed: 4 ins; 0 del; 0 mod

8350616: Skip ValidateHazardPtrsClosure in non-debug builds

Reviewed-by: kbarrett, tschatzl, shade

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

PR: https://git.openjdk.org/jdk/pull/23762


More information about the hotspot-runtime-dev mailing list