RFR: 8330145: Serial: Refactor SerialHeap::scan_evacuated_objs

Thomas Schatzl tschatzl at openjdk.org
Thu Apr 18 10:24:00 UTC 2024


On Thu, 18 Apr 2024 10:13:33 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>Maybe keeping the structure could be achieved by refactoring the code to a form similar to this:
>[...]

Not that I think this code is better - there is already some hidden state (the saved mark values) around, so just having an extra call to query them seems fine to me.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18750#discussion_r1570438391


More information about the hotspot-gc-dev mailing list