自 Polyglot 24.2 以来,从其自身的客户堆中引用的未关闭的 `Context` 永远不会被收集
作者: JohnTortugo创建于 2026年9月30日更新于 2026年9月30日
标签feature
GR-54300 (#10062) made PolyglotEngineImpl.contexts hold PolyglotContextImpl strongly (it used to hold ContextWeakReferences) and added the auto-close-on-GC mechanism that fires when the public Context becomes weakly reachable.
内容来源: oracle/graal