Request for Review (XS): 7143760 Memory leak in GarbageCollectionNotifications

Frederic Parain frederic.parain at oracle.com
Fri Feb 10 01:27:30 PST 2012


Here's a small fix (one line) for CR 7143760  Memory leak in 
GarbageCollectionNotifications

There's a missing HandleMark at the beginning of the 
GCNotifier::sendNotificatin() method. Without this HandleMark, all 
handles used when creating GC notifications are kept alive causing a 
double leak: in the Java heap and in the thread local handle area of the 
service thread.

Here's the CR:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7143760
(Warning, the changeset referenced in the CR is not the
one containing the original bug).

Here's the webrev:
http://cr.openjdk.java.net/~fparain/7143760/webrev.00/

Thanks,

Fred

-- 
Frederic Parain - Oracle
Grenoble Engineering Center - France
Phone: +33 4 76 18 81 17
Email: Frederic.Parain at oracle.com



More information about the serviceability-dev mailing list