JNI Leak Wrappers: Catching 3 Elusive Reference Types

Custom wrappers excel at exposing leaks from unreleased `NewGlobalRef` calls, un-detached native threads via `AttachCurrentThread`, and improperly managed native array elements from `GetByteArrayElements`.

Sources

Open the full topic