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).

This pull request has now been integrated.

Changeset: 196dff3b
Author:    Hao Sun <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/196dff3b2722feec7ad6716404e647f797c51e46
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8391988: Disable stringop-overflow in shenandoahInPlacePromoter.cpp

Reviewed-by: shade, erikj, wkemper

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

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

Reply via email to