[code-reflection] RFR: Model lifetimes of onnx session-related objects more explicitly

Maurizio Cimadamore mcimadamore at openjdk.org
Fri Feb 28 13:10:09 UTC 2025


On Fri, 28 Feb 2025 12:42:24 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> If the changes to the demo are not deemed good, I can withdraw this PR -- I mostly wanted to capture the result of my exploration somewhere.

I have tried an experiment where I used an automatic arena to model the session lifetime -- but unfortunately the GC doesn't seem to get rid of off-heap memory fast enough -- probably there's not enough Java object being allocated to justify a reachability analysis.

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

PR Comment: https://git.openjdk.org/babylon/pull/332#issuecomment-2690607634


More information about the babylon-dev mailing list