hg: jdk7/hotspot-gc/hotspot: 6870843: G1: G1 GC memory leak

andrey.petrusenko at sun.com andrey.petrusenko at sun.com
Tue Oct 27 13:47:08 UTC 2009


Changeset: fa2f65ebeb08
Author:    apetrusenko
Date:      2009-10-27 02:42 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/fa2f65ebeb08

6870843: G1: G1 GC memory leak
Summary: The fix addresses two memory leaks in G1 code: (1) _evac_failure_scan_stack - a resource object allocated on the C heap was not freed; (2) RSHashTable were linked into deleted list which was only cleared at full GC.
Reviewed-by: tonyp, iveresov

! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
! src/share/vm/gc_implementation/g1/sparsePRT.cpp
! src/share/vm/gc_implementation/g1/sparsePRT.hpp




More information about the hotspot-gc-dev mailing list