MemorySegment off-heap usage and GC

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon Sep 16 10:31:19 UTC 2024


On 16/09/2024 11:26, Maurizio Cimadamore wrote:
> I've rarely had these "Evacuation Failure: Pinned" log entries 
> regarding the current "master" branch on Github, but now it's even worse.

Zooming in on this aspect: this would suggest that your heap memory is 
being kept "pinned" somewhere.

Are you, by any chance, using downcall method handles with the 
"critical" Linker option? Or any form of critical JNI?

It wouldn be interesting (separately from the "architectural" angle 
discussed in my previous reply) to see which method call(s) is causing 
this exactly...

Cheers
Maurizio



More information about the panama-dev mailing list