RFR [XS]: 8239462: jdk.hotspot.agent misses some ReleaseStringUTFChars calls in case of early returns

Alex Menkov alexey.menkov at oracle.com
Thu Feb 20 00:16:23 UTC 2020


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
> 


More information about the serviceability-dev mailing list