You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[GC Bridge] Split ManagedValueManager and SimpleValueManager (#10222)
Context: #10198
This PR contains bits from #10198 which don't depend on new APIs in dotnet/runtime.
* Turn `ManagedValueManager` into singleton, for safety/correctness, as we
don't want to be calling `JavaMarsha.Initialize()` more than once.
* Create `SimpleValueManager` for NativeAOT, which is the "simple" implementation
that just leaks...
Eventually, `ManagedValueManager` will use the new `JavaMarshal` APIs
and `SimpleValueManager` will be used temporarily for NativeAOT.
`SimpleValueManager` can be removed in the future when `JavaMarshal`
is implemented for NativeAOT.
0 commit comments