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).
Could we add a comment to the new `@requires` so folks can understand why they
exist? Why is there such an extreme scaling factor such as
`-XX:CompileThresholdScaling=0.01 `?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/33455#issuecomment-6285482760