RFR: 8366229: runtime/Thread/TooSmallStackSize.java runs with all collectors

David Holmes dholmes at openjdk.org
Tue Sep 16 02:47:13 UTC 2025


On Mon, 15 Sep 2025 15:39:16 GMT, Paul Hübner <phubner at openjdk.org> wrote:

> Hi all,
> 
> This change forces the `TooSmallStackSize.java` test to run on flagless VMs. Previously, this could get influenced by GC choice, whose flags were never propagated to the subprocess.
> 
> Testing: tier 1.
> 
> N.B.: Please ignore my fork's branch name, I copied and pasted the wrong ID.

Yes you should always require `flagless` when using `createLimitedTestJavaProcessBuilder`.

Thanks for cleaning it up.

PS. I consider this a trivial fix.

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

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27297#pullrequestreview-3226869663
PR Comment: https://git.openjdk.org/jdk/pull/27297#issuecomment-3294645653


More information about the hotspot-runtime-dev mailing list