RFR: 8300958: Parallel: Remove unused MutableNUMASpace::capacity_in_words

Albert Mingkun Yang ayang at openjdk.org
Thu Jan 26 10:46:51 UTC 2023


On Tue, 24 Jan 2023 09:48:17 GMT, Jie Fu <jiefu at openjdk.org> wrote:

>> Trivial removing dead code.
>
> src/hotspot/share/gc/parallel/mutableSpace.hpp line 92:
> 
>> 90:   size_t capacity_in_bytes() const { return capacity_in_words() * HeapWordSize; }
>> 91:   size_t capacity_in_words() const { return pointer_delta(end(), bottom()); }
>> 92:   virtual size_t capacity_in_words(Thread*) const { return capacity_in_words(); }
> 
> Also update the copyright year?

This PR doesn't add any new code, so probably not applicable.

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

PR: https://git.openjdk.org/jdk/pull/12162


More information about the hotspot-gc-dev mailing list