On Tue, 20 Oct 2026 00:36:15 GMT, Vladimir Kozlov <[email protected]> wrote:

> The test use 4 sec timeout to check progress:
> 
> if (!waitFor(() -> state.loaderRef().refersTo(null), 
> Utils.adjustTimeout(4_000L))) {
> 
> 
> With -XX:CompileThresholdScaling=0.01 (or -Xcomp) compiler threads may 
> consume CPU resources preventing progression of an application in the 
> expected time.
> 
> Add `@requires` to the test to avoid running it with these flags.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 38e34dc4
Author:    Vladimir Kozlov <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/38e34dc486876110148f0c3cbec4d780c867ecc0
Stats:     2 lines in 1 file changed: 2 ins; 0 del; 0 mod

8394732: Test java/lang/LazyConstant/ThrowablesClassUnloading.java times out 
with -XX:CompileThresholdScaling=0.01

Reviewed-by: lmesnik, dlong

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

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

Reply via email to