RFR: 8319200: Don't use test thread factory in ProcessTools.createLimitedTestJavaProcessBuilder() [v4]
David Holmes
dholmes at openjdk.org
Thu Nov 9 05:03:57 UTC 2023
On Wed, 8 Nov 2023 19:13:25 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
>> Test thread factory is a mode similar to VM flags and should not be used in ProcessTools.createLimitedTestJavaProcessBuilder(). Only createTestJavaProcessBuilder() should use it like jtreg VM options.
>>
>> Adding the test thread factory requires the injection of arguments in the middle of the list. I don't think it makes sense to modify arguments in several places so I replaced it with the flag isLimited and moved all modifications in createJavaProcessBuilder().
>>
>> Testing tier1-5.
>
> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
>
> renamed arguments
I remain concerned that this means that a whole swag of tests will never be run with virtual threads, which reduces our virtual thread test coverage. Hard to quantify. Do you have any stats on how many tests this will affect and which ones?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16442#issuecomment-1803166547
More information about the core-libs-dev
mailing list