JDK 9 RFR for 8031068: java/util/logging/ParentLoggersTest.java: checkLoggers: getLoggerNames() returned unexpected loggers
Mandy Chung
mandy.chung at oracle.com
Wed Jan 8 20:04:48 UTC 2014
On 1/8/2014 11:30 AM, Daniel Fuchs wrote:
>
> <http://cr.openjdk.java.net/~dfuchs/webrev_8031068-jdk9/webrev.01/>
The fix looks fine. The WeakReference and System.gc() call was to help
reproduce the test failure. I wonder if it's really needed to be
retained in the test (or better to remove it).
There has been a few test failures due to this eager GC issue running in
-server -Xcomp mode (I guess they are from the hotspot nightly
testing). It might worth to run all logging tests with -server -Xcomp
to find out if all test failures due to this issue are reported and fix
them all together.
Mandy
More information about the core-libs-dev
mailing list