RFR (S) 8249137: Remove CollectedHeap::obj_size
thomas.schatzl at oracle.com
Thu Jul 9 09:00:36 UTC 2020
On 09.07.20 08:36, Aleksey Shipilev wrote:
> It was added by JDK-8211270 to support old-style Shenandoah that needed a separate fwdptr slot.
> After JDK-8224584 it does not need this anymore. Additionally, CH::obj_size may disagree with other
> code that pokes at layout helper directly, for example GraphKit::new_instance.
> This also avoids a virtual call on some paths, although those paths are not very performance-sensitive.
> The patch is a simple series of few-liners:
More information about the hotspot-gc-dev