[code-reflection] RFR: Explicit Arena passing to Tensor construction and Session execution [v2]
    Adam Sotona 
    asotona at openjdk.org
       
    Tue Mar  4 12:37:18 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:
  using Arena.ofConfined() instance for each individual test in CNNTest
-------------
Changes:
  - all: https://git.openjdk.org/babylon/pull/337/files
  - new: https://git.openjdk.org/babylon/pull/337/files/58db6d00..3d33898d
Webrevs:
 - full: https://webrevs.openjdk.org/?repo=babylon&pr=337&range=01
 - incr: https://webrevs.openjdk.org/?repo=babylon&pr=337&range=00-01
  Stats: 45 lines in 1 file changed: 6 ins; 0 del; 39 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