RFR (S): 8149977: DumpLoadedClassList should not include generated classes
Jiangli Zhou
jiangli.zhou at Oracle.COM
Sat May 14 04:22:26 UTC 2016
Hi,
Please review the following webrev that excludes anonymous classes from generated CDS class list:
webrev: http://cr.openjdk.java.net/~jiangli/8149977/webrev.00/
bug: JDK-8149977 <https://bugs.openjdk.java.net/browse/JDK-8149977>
As an example, the LambdaForm classes are not generated and archived at CDS archive dump time. Excluding the anonymous classes from the class list avoids the warnings like the following at CDS archiving time.
Preload Warning: Cannot find java/lang/invoke/LambdaForm$MH
Preload Warning: Cannot find java/lang/invoke/LambdaForm$DMH
Preload Warning: Cannot find java/lang/invoke/LambdaForm$MH
Preload Warning: Cannot find java/lang/invoke/LambdaForm$MH
Preload Warning: Cannot find java/lang/invoke/LambdaForm$DMH
Preload Warning: Cannot find java/lang/invoke/LambdaForm$DMH
Preload Warning: Cannot find java/lang/invoke/LambdaForm$DMH
Preload Warning: Cannot find java/lang/invoke/LambdaForm$DMH
Preload Warning: Cannot find java/lang/invoke/LambdaForm$DMH
Preload Warning: Cannot find java/lang/invoke/LambdaForm$DMH
Preload Warning: Cannot find java/lang/invoke/LambdaForm$MH
Preload Warning: Cannot find java/lang/invoke/LambdaForm$BMH
Preload Warning: Cannot find java/lang/invoke/LambdaForm$DMH
Preload Warning: Cannot find java/lang/invoke/LambdaForm$DMH
Thanks,
Jiangli
More information about the hotspot-runtime-dev
mailing list