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

Ivan Walulya iwalulya at openjdk.org
Wed Apr 30 12:18:45 UTC 2025


On Wed, 30 Apr 2025 12:13:20 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> This also seems pre-existing. Can you file an issue?
>
> 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.

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

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


More information about the hotspot-gc-dev mailing list