[jdk25u] RFR: 8350621: Code cache stops scheduling GC

Thomas Schatzl tschatzl at openjdk.org
Mon Aug 11 14:13:31 UTC 2025


Hi all,

  please review this change to avoid CodeCache triggered GCs temporarily being ignored.

This is a backport of https://github.com/openjdk/jdk/pull/26189, which did not apply cleanly.

The issue has been the hunk in `gcCause.hpp`, and in `G1Policy::record_concurrent_mark_remark_end()` where the context was wrong.

Testing: tier1-5, with the follow-up patch to the test case

Thanks,
  Thomas

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

Commit messages:
 - Hi all,

Changes: https://git.openjdk.org/jdk25u/pull/82/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u&pr=82&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8350621
  Stats: 391 lines in 8 files changed: 339 ins; 43 del; 9 mod
  Patch: https://git.openjdk.org/jdk25u/pull/82.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u.git pull/82/head:pull/82

PR: https://git.openjdk.org/jdk25u/pull/82


More information about the jdk-updates-dev mailing list