RFR: 8357188: Remove the field MemAllocator::Allocation::_overhead_limit_exceeded and the related code [v2]

Albert Mingkun Yang ayang at openjdk.org
Sun Aug 31 13:09:41 UTC 2025


On Sun, 31 Aug 2025 11:31:32 GMT, Guoxiong Li <gli at openjdk.org> wrote:

>> Hi all,
>> 
>> After JDK-8338977 [1], the field `MemAllocator::Allocation::_overhead_limit_exceeded` and the parameter `gc_overhead_limit_was_exceeded` of the method `CollectedHeap::mem_allocate` are not used by any GC. This patch removes them.
>> 
>> Test:
>> All the tests of the command `make test TEST="hotspot:hotspot_gc"` passed locally (linux, x86_64, release build).
>> 
>> Best Regards,
>> -- Guoxiong
>> 
>> [1] https://bugs.openjdk.org/browse/JDK-8338977
>
> Guoxiong Li has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove outdated comments.

Marked as reviewed by ayang (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/27020#pullrequestreview-3171619294


More information about the hotspot-gc-dev mailing list