RFR: 8371131: Cleanup Thread parameter in CollectedHeap TLAB methods

Joel Sikström jsikstro at openjdk.org
Mon Nov 3 09:57:38 UTC 2025


Hello,

The last usage of the the Thread parameter that is passed to `CollectedHeap::{tlab_capacity, tlab_used, unsafe_max_tlab_alloc}` was removed in [JDK-8370345](https://bugs.openjdk.org/browse/JDK-8370345). Following this we should remove the Thread parameter completely from CollectedHeap and all GCs that derive from it.

Testing:
* Running through tier1-2

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

Commit messages:
 - 8371131: Cleanup Thread parameter in CollectedHeap TLAB methods

Changes: https://git.openjdk.org/jdk/pull/28107/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28107&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8371131
  Stats: 65 lines in 20 files changed: 0 ins; 2 del; 63 mod
  Patch: https://git.openjdk.org/jdk/pull/28107.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28107/head:pull/28107

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


More information about the hotspot-gc-dev mailing list