[code-reflection] RFR: Explicit Arena passing to Tensor construction and Session execution [v5]

Adam Sotona asotona at openjdk.org
Tue Mar 4 13:29:32 UTC 2025


> Holding `Arena` instances in `OnnxRuntime` and `Session` still cause memory leaks.
> This patch allows to pass explicit arena for `Tensor` construction, `Session` construction and  each `Session` run.

Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:

  tensor construction moved to runtime

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/337/files
  - new: https://git.openjdk.org/babylon/pull/337/files/52f18047..6be08566

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=babylon&pr=337&range=04
 - incr: https://webrevs.openjdk.org/?repo=babylon&pr=337&range=03-04

  Stats: 13 lines in 2 files changed: 2 ins; 4 del; 7 mod
  Patch: https://git.openjdk.org/babylon/pull/337.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/337/head:pull/337

PR: https://git.openjdk.org/babylon/pull/337


More information about the babylon-dev mailing list