RFR: 8357621: G1: Clean up G1BiasedArray [v2]

Stefan Johansson sjohanss at openjdk.org
Fri May 23 11:53:52 UTC 2025


On Fri, 23 May 2025 11:13:31 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> Hi all,
>> 
>>   please review this minor touch-up of the G1BiasedArray classes, removing some unused methods and improving method visibility a bit.
>> 
>> Testing: gha
>> 
>> Thanks,
>>   Thomas
>
> Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Re-add address_mapped_to, used by testing

src/hotspot/share/gc/g1/g1BiasedArray.hpp line 106:

> 104: class G1BiasedMappedArray : public G1BiasedMappedArrayBase {
> 105: 
> 106:   T* base() const { return (T*)G1BiasedMappedArrayBase::_base; }

Looks like `base() `needs to be public for testing as well :(

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25406#discussion_r2104429106


More information about the hotspot-gc-dev mailing list