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

Jie Fu fujie at loongson.cn
Tue Oct 22 04:59:20 UTC 2019

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.

  - 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,

More information about the hotspot-runtime-dev mailing list