RFR: 8377658: G1: Cleanup g1ConcurrentMark.cpp for stricter warning flags
Leo Korinth
lkorinth at openjdk.org
Fri Feb 13 14:18:27 UTC 2026
On Fri, 13 Feb 2026 09:45:23 GMT, Leo Korinth <lkorinth at openjdk.org> wrote:
>> src/hotspot/share/utilities/globalDefinitions.hpp line 173:
>>
>>> 171: // Use this instead of sizeof() if you want your expression not to be of type size_t
>>> 172: template <typename T>
>>> 173: constexpr auto sizeof_auto() {
>>
>> I would consider extracting this into a separate PR.
>
> Okay
https://bugs.openjdk.org/browse/JDK-8377895
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29701#discussion_r2804441497
More information about the hotspot-dev
mailing list