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

Jie Fu fujie at loongson.cn
Tue Oct 22 06:23:10 UTC 2019


Hi Ioi and David,

Thanks for your review and suggestion.
I'll file a build bug soon.

Updated: http://cr.openjdk.java.net/~jiefu/8232757/webrev.01/
  - just added the reviewers in it.

@David
I'd be really appreciated if you could sponsor it again.
Thanks in advance.

Thanks a lot.
Best regards,
Jie

On 2019/10/22 下午1:54, David Holmes wrote:
> +1 on both counts. A build bug should be filed.
>
> Thanks,
> David
>
> On 22/10/2019 3:41 pm, Ioi Lam wrote:
>> 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