Looks like src/jdk.hotspot.agent/linux/native/libsaproc/LinuxDebuggerLocal.cpp has similar issues. It would be nice to fix them as well.
--alex On 02/19/2020 06:21, Baesken, Matthias wrote:
Hello, please review this small change . We miss at a few places ReleaseStringUTFChars calls in the native jdk.hotspot.agent coding. This happens in case of early returns . Bug/webrev : https://bugs.openjdk.java.net/browse/JDK-8239462 http://cr.openjdk.java.net/~mbaesken/webrevs/8239462.0/ Thanks, Matthias