On Fri, 11 Sep 2026 05:59:47 GMT, Hao Sun <[email protected]> wrote:

> Zero builds with GCC 15.2 still fail after JDK-8391235. That fix only moved 
> RegionPromotionStats::update() out of the header; GCC still inlines it in the 
> same translation unit through get_region(), which may return null, into 
> linux_zero's __atomic_load and misreports a stringop-overflow.
> 
> This is the same GCC false positive worked around for 
> shenandoahGenerationalHeap.cpp (JDK-8382395), safepointMechanism.cpp 
> (JDK-8382522) and shenandoahHeap.cpp (JDK-8390033). Disable the warning for 
> the affected file.
> 
> 
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Marked as reviewed by erikj (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/32832#pullrequestreview-5178906018

Reply via email to