MemorySegment off-heap usage and GC

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon Sep 16 17:03:46 UTC 2024


On 16/09/2024 17:49, Johannes Lichtenberger wrote:
> but I thought it shouldn't be that runtime for shredding a resource 
> (impirting JSON data) suddenly is 3x worse even now in the middle of a 
> bigger refactoring in my spare time

Ok, so there's a new bullet:

* the _execution time_ (e.g. throughput) with the memory segment version 
is now 3x slower than w/o memory segment

What does the memory usage look like? I understand that you see issues 
with GC failures due to "pinning" - but does the overall heap usage seem 
ok? Or has heap usage also increased?

Maurizio



More information about the panama-dev mailing list