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

Albert Mingkun Yang ayang at openjdk.org
Wed Apr 30 14:00:57 UTC 2025


On Wed, 30 Apr 2025 12:16:23 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

>> Actually the whole hunk seems to be unrelated to the actual functional change.
>
> 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?

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

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


More information about the hotspot-gc-dev mailing list