Skip to content

Conversation

@tschatzl
Copy link
Contributor

@tschatzl tschatzl commented Dec 15, 2025

Hi all,

this is hopefully the last fix attempt for the gc/g1/TestCodeCacheUnloadDuringConcCycle.java test that proves to be fairly unstable across some platforms.

The change adds more classes/code to be compiled during the test to fill the code cache faster, and more consistently exercise the code cachec loading.

I also opted to revert the change from https://bugs.openjdk.org/browse/JDK-8372860 because it (unsuccessfully) tried the same method. There is no need to prolong the test any more.

Testing: gha

Thanks,
Thomas


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8373429: gc/g1/TestCodeCacheUnloadDuringConcCycle fails on various platforms (Bug - P4)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/28822/head:pull/28822
$ git checkout pull/28822

Update a local copy of the PR:
$ git checkout pull/28822
$ git pull https://git.openjdk.org/jdk.git pull/28822/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 28822

View PR using the GUI difftool:
$ git pr show -t 28822

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/28822.diff

Using Webrev

Link to Webrev Comment

* use the alternative for aarch32, decrease reserved code cache size
@tschatzl tschatzl changed the title Submit/8373429 testcodecacheunloadduringcycle 8373429 Dec 15, 2025
@bridgekeeper
Copy link

bridgekeeper bot commented Dec 15, 2025

👋 Welcome back tschatzl! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Dec 15, 2025

@tschatzl This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8373429: gc/g1/TestCodeCacheUnloadDuringConcCycle fails on various platforms

Reviewed-by: mbaesken

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 46 new commits pushed to the master branch:

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot changed the title 8373429 8373429: gc/g1/TestCodeCacheUnloadDuringConcCycle fails on aarch64 Dec 15, 2025
@openjdk openjdk bot added the hotspot-gc hotspot-gc-dev@openjdk.org label Dec 15, 2025
@openjdk
Copy link

openjdk bot commented Dec 15, 2025

@tschatzl The following label will be automatically applied to this pull request:

  • hotspot-gc

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@snazarkin
Copy link
Contributor

Test is passed on ARM32

@TheRealMDoerr
Copy link
Contributor

This looks good. I just verified that this fixes the failures on AIX.

@MBaesken
Copy link
Member

The ppc64 errors are gone also in our central CI tests.
Maybe the PR subject should be changed to aarch64 and ppc64 ? Or just say 'various platforms' ?

@tschatzl tschatzl changed the title 8373429: gc/g1/TestCodeCacheUnloadDuringConcCycle fails on aarch64 8373429: gc/g1/TestCodeCacheUnloadDuringConcCycle fails on various platforms Dec 16, 2025
@tschatzl tschatzl marked this pull request as ready for review December 16, 2025 09:24
@openjdk openjdk bot added the rfr Pull request is ready for review label Dec 16, 2025
@mlbridge
Copy link

mlbridge bot commented Dec 16, 2025

Webrevs

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hotspot-gc hotspot-gc-dev@openjdk.org ready Pull request is ready to be integrated rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

4 participants