RFR: 8297941: Add override modifier in space.hpp
Kim Barrett
kbarrett at openjdk.org
Thu Dec 1 14:19:38 UTC 2022
On Thu, 1 Dec 2022 10:58:29 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Simple patch generated using `clang-tidy`.
Looks good.
src/hotspot/share/gc/shared/space.hpp line 476:
> 474: size_t capacity() const { return byte_size(bottom(), end()); }
> 475: size_t used() const override { return byte_size(bottom(), top()); }
> 476: size_t free() const override { return byte_size(top(), end()); }
Suggest reducing the number of spaces between `override` and the body.
-------------
Marked as reviewed by kbarrett (Reviewer).
PR: https://git.openjdk.org/jdk/pull/11451
More information about the hotspot-gc-dev
mailing list