Merge branch 'java-director-leak'
* java-director-leak: Cosmetic tidyup in SWIG_JAVA_DETACH_ON_THREAD_END code Java: Move auxiliary methods into JObjectWrapper. Java: Option to detach from the JVM in the thread destructor. Conflicts: CHANGES.current
This commit is contained in:
commit
1d6f4b4eae
2 changed files with 42 additions and 1 deletions
|
|
@ -7,6 +7,16 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
|
|||
Version 4.1.0 (in progress)
|
||||
===========================
|
||||
|
||||
2022-05-28: jkuebart
|
||||
[Java] On some versions of Android, specifically Android 6,
|
||||
detaching the current thread from the JVM after every invocation
|
||||
causes a memory leak.
|
||||
|
||||
Offer SWIG_JAVA_DETACH_ON_THREAD_END to configure a behaviour
|
||||
where the JVM is only detached in the thread destructor.
|
||||
|
||||
See https://developer.android.com/training/articles/perf-jni#threads.
|
||||
|
||||
2022-05-27: xypron
|
||||
[Python] #2277 Define PY_SSIZE_T_CLEAN macro before #include "Python.h" as
|
||||
recommended in Python 3.7 and later.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue