RFR: 8355681: G1HeapRegionManager::find_contiguous_allow_expand ignores free regions when checking regions available for allocation [v2]

Ivan Walulya iwalulya at openjdk.org
Thu May 1 08:27:33 UTC 2025


On Wed, 30 Apr 2025 13:57:45 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> I added this instead of an assert on failing `expand_and_allocate` for humongous objects, but then figured we could just skip the `expand_and_allocate` attempt which is guaranteed to fail.
>
> Not sure what to write in a ticket. Those are just some questions I had while reading the coed. Anyway, if this part is not supper related to the actual functional change, can it be dealt with in its own PR?

I have removed that check. Will be done with the clean up of `attempt_allocation_at_safepoint`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24915#discussion_r2069982724


More information about the hotspot-gc-dev mailing list