On Thu, 19 Nov 2026 22:19:50 GMT, Leonid Mesnik <[email protected]> wrote:

> There are few tests that create new VM with specific flags and ignore flags 
> given to jtreg.
> 
> It looks that it is reasonable to ignore the the jtreg flags for these tests, 
> so I added 
> `requires vm.flagless` 
> 
> Tested by running tests and tier1.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Thank you for review. 

> Just to be clear. If a test only exec's a "limited test Java process", or a 
> native test process then:
> 
> 1. The main test should be run in driver mode; and
> 2. The main test should be marked "flagless"
> 
> right?

Basically yes. It is not a huge problem, but just wasting of time by running 
redundant combinations and running auxiliary  code with stress options, like 
Xcomp.

So I am running testing to find the [2] tests to mark them flagless once per 
release.

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

PR Comment: https://git.openjdk.org/jdk/pull/33984#issuecomment-7026190560

Reply via email to