A small memory leak was found in get_stack_bounds when getline returned with an error code, but it was fixed in OpenJDK 7 & 8 in a way that introduced worse issues:
http://mail.openjdk.java.net/pipermail/hotspot-dev/2013-February/008695.html This webrev adds a simpler fix, just adding the necessary free call: http://cr.openjdk.java.net/~andrew/jdk6/03/webrev.01/ I filed a bug for this here: http://java.net/jira/browse/OPENJDK6-3 Ok for OpenJDK 6? -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07