code review request: Test case for JDK-7042126 HashMap.clone() memory leak (original) (raw)
Martin Buchholz martinrb at google.com
Wed Jan 30 20:48:15 UTC 2013
- Previous message: code review request: Test case for JDK-7042126 HashMap.clone() memory leak
- Next message: code review request: Test case for JDK-7042126 HashMap.clone() memory leak
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Consider importing the popular GcFinalization https://cs.corp.google.com/#google3/java/com/google/common/testing/GcFinalization.java&sq=package:google3%20-file:%5Eexperimental&q=gcfinalization&type=cs&l=61 as a testing utility for the jdk proper.
On Wed, Jan 30, 2013 at 5:09 AM, Alan Bateman <Alan.Bateman at oracle.com>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.
- Previous message: code review request: Test case for JDK-7042126 HashMap.clone() memory leak
- Next message: code review request: Test case for JDK-7042126 HashMap.clone() memory leak
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]