RFR: 8371131: Cleanup Thread parameter in CollectedHeap TLAB methods

Joel Sikström jsikstro at openjdk.org
Tue Nov 4 09:39:52 UTC 2025


On Mon, 3 Nov 2025 09:59:39 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> 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:
>> * Oracle's tier1-2
>
> Marked as reviewed by ayang (Reviewer).

Thank you for the reviews! @albertnetymk @tschatzl Nice to get this cleanup in.

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

PR Comment: https://git.openjdk.org/jdk/pull/28107#issuecomment-3484890434


More information about the hotspot-gc-dev mailing list