-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
java-interopRuntime bridge between .NET and JavaRuntime bridge between .NET and Java
Description
Casual look at the Java.Interop
/java-interop
projects that there's a lot of code that can be removed since it's no longer used:
- Any code that supports Java's
WeakReference
instead of the JNI weak handle. This option is not used anymore but the native code to support it still exists:java-interop/src/java-interop/java-interop-gc-bridge-mono.cc
Lines 1288 to 1292 in 5bd93ae
case JAVA_INTEROP_GC_BRIDGE_USE_WEAK_REFERENCE_KIND_JAVA: message = "Using java.lang.ref.WeakReference for JNI Weak References."; take_global_ref = take_global_ref_java; take_weak_global_ref = take_weak_global_ref_java; break; -
/java_interop_strdup
java_interop_free
Metadata
Metadata
Assignees
Labels
java-interopRuntime bridge between .NET and JavaRuntime bridge between .NET and Java