RFR: 8303703: Add support of execution tests using virtual thread factory jtreg plugin
Leonid Mesnik
lmesnik at openjdk.org
Thu Apr 20 13:07:57 UTC 2023
On Tue, 18 Apr 2023 05:58:08 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
>> The plugin which support execution of test's main method in separate virtual thread is added.
>> The plugin is built as a part of test image and might be used in testing by adding JTREG_TEST_THREAD_FACTORY=Virtual option.
>
> I use `jtreg` standalone (outside of `make`) a lot of times to run tests. If I understand the build changes correctly, `make images` will build the necessary jars for the virtual thread factory class (does it require `--with-jtreg` option to have been used during `configure`?). And then if I want to use this `Virtual` thread factory, I can just do:
>
>
> jtreg -testThreadFactoryPath:.... -testThreadFactory:...
>
> Is that right?
@jaikiran, Have I answered to all your questions?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13432#issuecomment-1516294302
More information about the build-dev
mailing list