RFR: 8296776: Stop using mtNone as marker for CHeap allocations in GrowableArray [v5]

Stefan Karlsson stefank at openjdk.org
Tue Nov 15 11:03:09 UTC 2022


On Tue, 15 Nov 2022 10:09:27 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Stefan Karlsson has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Try to fix 32-bit builds
>
> src/hotspot/share/utilities/growableArray.hpp line 603:
> 
>> 601: 
>> 602:   // Resource allocation
>> 603:   uintptr_t bits() const {
> 
> Is there still a point to this overload? Can we just init with literal 0 instead?

I prefer this style more since it keeps the bit implementations together and it makes the constructors look consistent.

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

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


More information about the hotspot-dev mailing list