RFR: 8276842 G1: Only calculate size in bytes from words when needed
tschatzl at openjdk.java.net
Tue Nov 9 08:53:39 UTC 2021
On Tue, 9 Nov 2021 07:49:15 GMT, Hamlin Li <mli at openjdk.org> wrote:
> This is a minor improvement in RemoveSelfForwardPtrObjClosure.
> Currently, RemoveSelfForwardPtrObjClosure::do_object calculates from size in words to size in bytes every time, it's not necessary to do so, only needs to calculate the size when needed.
Marked as reviewed by tschatzl (Reviewer).
More information about the hotspot-gc-dev