JDK 9 RFR for 8031068: java/util/logging/ParentLoggersTest.java: checkLoggers: getLoggerNames() returned unexpected loggers
daniel.fuchs at oracle.com
Thu Jan 9 18:18:55 UTC 2014
On 1/8/14 11:37 PM, Chris Hegarty wrote:
>> On 8 Jan 2014, at 20:04, Mandy Chung <mandy.chung at oracle.com> wrote:
>>> On 1/8/2014 11:30 AM, Daniel Fuchs wrote:
>> 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).
> Sounds like the most reasonable solution.
OK - I removed the unnecessary calls.
>> 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.
More information about the core-libs-dev