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

Guoxiong Li gli at openjdk.org
Thu Sep 4 05:12:32 UTC 2025


> 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 with a new target base due to a merge or a rebase. The pull request now contains three commits:

 - Merge branch 'master' into REMOVE_UNUSED_FIELD
 - Remove outdated comments.
 - JDK-8357188

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

Changes: https://git.openjdk.org/jdk/pull/27020/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27020&range=02
  Stats: 43 lines in 14 files changed: 0 ins; 22 del; 21 mod
  Patch: https://git.openjdk.org/jdk/pull/27020.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27020/head:pull/27020

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


More information about the hotspot-gc-dev mailing list