RFR: 8370905: Update vm.defmeth tests to use virtual threads [v2]

Leonid Mesnik lmesnik at openjdk.org
Mon Dec 1 19:25:20 UTC 2025


On Mon, 1 Dec 2025 16:43:59 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:

>> Leonid Mesnik has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>> 
>>  - removed setName
>>  - Merge branch 'master' of https://github.com/openjdk/jdk into 8370905
>>  - 8370905: Update vm.defmeth tests to use virtual threads
>
> test/hotspot/jtreg/vmTestbase/vm/runtime/defmeth/StressTest.java line 98:
> 
>> 96:              this.rand = new Random(seed);
>> 97:              this.thread = TestThreadFactory.newThread(this, id);
>> 98:              thread.setName(id);
> 
> Isn't this already set by `TestThreadFactory.newThread(this, id)`?

Thanks!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28048#discussion_r2577952494


More information about the hotspot-runtime-dev mailing list