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
PRs for #3077 will untangle codes to create a local execution context and decouple query execution from JniWrapper.
A remaining issue is that we still bind a lot of C++ objects to Java by explicit pointer transmission over JNI. We'd simplify the routine by using a JVM-native way like finalize() or weak references.
The prons if we do this:
Simplify JNI codes
(probably) The objects can be collected on-demand rather than when task ends
Since #3077 is mostly about centralizing the object management, this would be a separate topic aside but more or less related to #3077.
The text was updated successfully, but these errors were encountered:
Description
PRs for #3077 will untangle codes to create a local execution context and decouple query execution from JniWrapper.
A remaining issue is that we still bind a lot of C++ objects to Java by explicit pointer transmission over JNI. We'd simplify the routine by using a JVM-native way like
finalize()
or weak references.The prons if we do this:
Since #3077 is mostly about centralizing the object management, this would be a separate topic aside but more or less related to #3077.
The text was updated successfully, but these errors were encountered: