code review request: Test case for JDK-7042126 HashMap.clone() memory leak

Martin Buchholz martinrb at
Wed Jan 30 20:48:15 UTC 2013

Consider importing the popular GcFinalization
as a testing utility for the jdk proper.

On Wed, Jan 30, 2013 at 5:09 AM, Alan Bateman <Alan.Bateman at>wrote:

> How robust is this test? I'm concerned that it might fail intermittently
> if the System.gc doesn't immediately GC the now un-references entries in hm.

More information about the core-libs-dev mailing list