RFR: 8184134: HeapRegion::LogOfHRGrainWords is unused

Stefan Johansson sjohanss at openjdk.java.net
Mon Apr 26 08:01:32 UTC 2021


On Sun, 25 Apr 2021 08:26:07 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Trivial change of removing unused code.

Looks good, just a minor comment.

src/hotspot/share/gc/g1/heapRegion.hpp line 321:

> 319:   // well as other related fields that are based on the heap region
> 320:   // size (LogOfHRGrainBytes / CardsPerRegion).
> 321:   // All those fields are considered constant

Please reformat the comment to use similar length of lines.

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

Marked as reviewed by sjohanss (Reviewer).

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



More information about the hotspot-gc-dev mailing list