Integrated: 8357188: Remove the field MemAllocator::Allocation::_overhead_limit_exceeded and the related code

Guoxiong Li gli at openjdk.org
Fri Sep 5 13:37:22 UTC 2025


On Sat, 30 Aug 2025 10:49:45 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

This pull request has now been integrated.

Changeset: 33794d16
Author:    Guoxiong Li <gli at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/33794d161467635eb32591fee189e5409cd2d114
Stats:     43 lines in 14 files changed: 0 ins; 22 del; 21 mod

8357188: Remove the field MemAllocator::Allocation::_overhead_limit_exceeded and the related code

Reviewed-by: ayang, shade

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

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


More information about the hotspot-gc-dev mailing list