RFR: 8344270: Update tier1_common and hotspot_misc groups to better organize hotspot non-component tests [v4]

Leonid Mesnik lmesnik at openjdk.org
Tue May 20 22:40:07 UTC 2025


> Can you please review following PR that improve test groups.
> The bug was originally filed  to eliminate duplication between tier1_common and hotspot_misc test groups.  However while looked on the test content of these groups I realized that there are some other issues. 
> 1) hotspot_resourcehogs groups should be executed always separately from other tests to don't cause intermittent failures.
> 2) it makes sense to run all gtest tests in tier1 but don't run in any other tiers (with any VM flags) 
> 3) testlibrary_tests and  sources should be a separate groups that don't need to be executed with any VM flags, or event with all builds 
> 
> So tier1_common includes non-component tests that should be executed in tier1. 
> **all** sanity tests
> **all** gttest tests (were not all of them)
> testlibrary_tests (might be os/cpu specifc, so need to run them with all builds)
> source code checking tests (no need to run them an all builds, but it takes only few seconds)
> 
> And it doesn't makes any sense to execute  tier1_common with any external VM flags.
> 
> While hotspot_misc now includes on 2 sanity tests.  It doesn't looks useful, but main purpose for this group would be to catch all tests that somehow missed from other groups. So let keep it. 
> 
> The new test groups were added mostly to add comments explaining their specific.

Leonid Mesnik has updated the pull request incrementally with four additional commits since the last revision:

 - Update test/hotspot/jtreg/TEST.groups
   
   Co-authored-by: David Holmes <62092539+dholmes-ora at users.noreply.github.com>
 - Update test/hotspot/jtreg/TEST.groups
   
   Co-authored-by: David Holmes <62092539+dholmes-ora at users.noreply.github.com>
 - Update test/hotspot/jtreg/TEST.groups
   
   Co-authored-by: David Holmes <62092539+dholmes-ora at users.noreply.github.com>
 - Update test/hotspot/jtreg/TEST.groups
   
   Co-authored-by: David Holmes <62092539+dholmes-ora at users.noreply.github.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25070/files
  - new: https://git.openjdk.org/jdk/pull/25070/files/9776720f..a21d402d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25070&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25070&range=02-03

  Stats: 8 lines in 1 file changed: 1 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/25070.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25070/head:pull/25070

PR: https://git.openjdk.org/jdk/pull/25070


More information about the hotspot-runtime-dev mailing list