RFR (S): 8149977: DumpLoadedClassList should not include generated classes

Calvin Cheung calvin.cheung at oracle.com
Mon May 16 15:41:24 UTC 2016


Looks good.

thanks,
Calvin

On 5/13/16, 11:47 PM, Ioi Lam wrote:
> Looks good. Thanks Jiangli.
>
> - Ioi
>
> On 5/13/16 9:22 PM, Jiangli Zhou wrote:
>> 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