This change eliminates memory leaks in the JVMTI implementation reported by SonarCloud.
The leaks occur when the Java heap is exhausted. ------------- Commit messages: - 8259627: Potential memory leaks in JVMTI after JDK-8227745 Changes: https://git.openjdk.java.net/jdk/pull/2055/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2055&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8259627 Stats: 16 lines in 1 file changed: 8 ins; 8 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/2055.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/2055/head:pull/2055 PR: https://git.openjdk.java.net/jdk/pull/2055
