RFR[XS] 8191747 [TESTBUG] runtime/appcds/DumpClassList.java and ProhibitedPackage.java fail on product bits

Volker Simonis volker.simonis at gmail.com
Tue Nov 28 18:21:38 UTC 2017


Hi Ioi,

looks good!

I was a little confused first that "-Xlog:cds" was not set as argument
in ProhibitedPackage.java
But I saw now that it is set by default in TestCommon for every
invocation of "dump()". Maybe you could mention that in
ProhibitedPackage.java in the comment before the execution of the dump
where you parse the "[cds]" logs?

Regards,
Volker


On Tue, Nov 28, 2017 at 6:58 PM, Ioi Lam <ioi.lam at oracle.com> wrote:
> Hi,
>
> Here's a fix for these two tests failing in product builds. The fix is to
> replace the use of debug flag PrintSystemDictionaryAtExit flag with
> -Xlog:class+load, which is available in product builds:
>
> https://bugs.openjdk.java.net/browse/JDK-8191747
> http://cr.openjdk.java.net/~iklam/jdk10/8191747-avoid-PrintSystemDictionaryAtExit-in-tests.v01/
>
> Thanks
> - Ioi
>


More information about the hotspot-runtime-dev mailing list