[lilliput-jdk17u:lilliput] RFR: 8303027: [Lilliput/JDK17] Correctly resolve forwarded objects in G1 heap iteration [v2]
Roman Kennke
rkennke at openjdk.org
Wed Feb 22 13:18:48 UTC 2023
On Wed, 22 Feb 2023 12:20:15 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Looks okay.
>
> But depending on the frequency of `block_is_obj(p)` being true, we might just put the `in_full_gc()` condition inside the `block_size()` itself?
I just pushed an attempt to use a templated loop and block_size(), that avoids the duplication AND should perform well. WDYT? (Note: we could achieve the same using constexpr bool arg, but I don't think it is allowed in 17 yet).
-------------
PR: https://git.openjdk.org/lilliput-jdk17u/pull/6
More information about the lilliput-dev
mailing list