C2 Jit compiler fails accessing off-heap memory via Unsafe with ShenandoahGC

Sergey Korotkov serge.korotkov at gmail.com
Mon Jun 16 16:51:02 UTC 2025


Hi Roland,

On 6/16/25 22:13, Roland Westrelin wrote:
> 
> Hi Sergey,
> 
>> Are there any chances to get it backported to jdk 17 and 21?
> 
> I intend to backport it to 25, 21 and 17.

Thanks for that.

> 
>> Our product (Apache Ignite) heavily relies on off-heap memory operations
>> via Unsafe.  I already applied the work around in our code but still not
>> 100% sure that problem wouldn't hit in some other place.
> 
> So the bug could affect end users of Apache Ignite? That's useful to
> know and I'll use that to motivate the backports.

Yes,

it was a real failure in production for one user recently: 
https://issues.apache.org/jira/browse/IGNITE-17734

Thanks,
--
   Sergey




More information about the shenandoah-dev mailing list