Integrated: 8276842 G1: Only calculate size in bytes from words when needed

Hamlin Li mli at openjdk.java.net
Wed Nov 10 01:16:42 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.

This pull request has now been integrated.

Changeset: c1e41fe3
Author:    Hamlin Li <mli at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/c1e41fe38bbbae12e1f73d2cd63c7afffc19475b
Stats:     4 lines in 1 file changed: 0 ins; 0 del; 4 mod

8276842: G1: Only calculate size in bytes from words when needed

Reviewed-by: tschatzl, ayang

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

PR: https://git.openjdk.java.net/jdk/pull/6305


More information about the hotspot-gc-dev mailing list