RFR: 8308027: GetThreadListStackTraces/OneGetThreadListStackTraces.java should be skipped when thread factory is used

David Holmes dholmes at openjdk.org
Fri Sep 26 06:12:14 UTC 2025


On Fri, 26 Sep 2025 02:23:57 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> The test fails with virtual thread factory. 
> There is no good way to adopt it for virtual thread factory. So let skip it's execution with it permanently.
> 
> The property support has been added to the jtregby
> https://bugs.openjdk.org/browse/CODETOOLS-7903931
> 
> I use
> `@requires test.thread.factory == null`
> and not
> `@requires test.thread.factory != "Virtual"`
> because I don't think that it makes sense to run it with any potential test thread factory, like "VirtualStress"

Seems reasonable. Thanks,

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

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27507#pullrequestreview-3270282970


More information about the serviceability-dev mailing list