RFR: 8364628: Serial: Refactor SerialHeap::mem_allocate_work
Paul Hohensee
phh at openjdk.org
Thu Aug 7 23:22:10 UTC 2025
On Mon, 4 Aug 2025 10:01:15 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Extract out old-gen allocation outside the critical-region to streamline the flow in `mem_allocate_work`.
>
> Test: tier1-5
There's quite a lot of duplicate code in all four of these files. Perhaps take the opportunity to consolidate?
-------------
PR Review: https://git.openjdk.org/jdk/pull/26619#pullrequestreview-3099036817
More information about the hotspot-gc-dev
mailing list