RFR(XS): 7087969: GarbageCollectorMXBean notification contains ticks vs millis

Frederic Parain frederic.parain at oracle.com
Tue Mar 27 06:12:55 PDT 2012


CR:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7087969

The fix is very simple, converting ticks into milliseconds
before using them to create the notification. This fix
makes the notification consistent with the other API
returning GcInfo instances.

Webrev:
http://cr.openjdk.java.net/~fparain/7087969/webrev.00/

Tested manually and with JPRT by running the jdk_management suite.
No new test has been added because the fix is in the HotSpot repository,
and the GarbageCollectorMXBean notification unit tests are in the
jdk repository.

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 hotspot-runtime-dev mailing list