RFR(XS): 8232757: VM fails to report an error for DumpLoadedClassList when cds is disabled

Ioi Lam ioi.lam at oracle.com
Tue Oct 22 05:41:02 UTC 2019


This looks good to me. But probably the command in the bug report:

bash configure --disable-cds --enable-generate-classlist

should also produce an error as well.

Thanks
- Ioi

On 10/21/19 9:59 PM, Jie Fu wrote:
> Hi all,
>
> JBS: https://bugs.openjdk.java.net/browse/JDK-8232757
> Webrev: http://cr.openjdk.java.net/~jiefu/8232757/webrev.00/
>
> -XX:DumpLoadedClassList doesn't work as expected when cds is disabled.
> People my get confused since the VM doesn't report an error for this 
> case.
> So it might be worth fixing it.
>
> For more background of this issue, please refer to the JBS.
>
> Testing:
>  - make test TEST="runtime/cds runtime/modules" CONF=server-release 
> with cds enabled/disabled
>  - make test TEST="tier1 tier2 tier3" CONF=server-release
>
> Could you please review it and give me some advice?
>
> Thanks a lot.
> Best regards,
> Jie
>
>



More information about the hotspot-runtime-dev mailing list