> We observe a native memory leak when repeating JDI operations from Eclipse in > a debuggee JVM. See bug report for details. > > AFAICT, this happens because we override methodSignature of a possible > pre-existing request object. I am not sure if there is a better place to > deallocate the signature. > > Also, I am not sure how to make an automated test for this. We (that is, the > customer that reported the problem) verified that the memory leak disappears > with the fix. > > Testing: > - [x] tier1 > - [x] tier2 > - [ ] tier3 > - [x] Customer confirming fix of memory leak
Roman Kennke has updated the pull request incrementally with one additional commit since the last revision: Move freeing of methodSignature after deleteGlobalArgumentRefs() ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/7306/files - new: https://git.openjdk.java.net/jdk/pull/7306/files/812ad324..b3e7a529 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7306&range=04 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7306&range=03-04 Stats: 8 lines in 1 file changed: 4 ins; 4 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/7306.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/7306/head:pull/7306 PR: https://git.openjdk.java.net/jdk/pull/7306