RFR: 8292891: ifdef-out some CDS-only functions [v2]

Ioi Lam iklam at openjdk.org
Thu Aug 25 06:18:37 UTC 2022


On Thu, 25 Aug 2022 00:00:18 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

>> Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   @calvinccheung comments
>
> src/hotspot/share/oops/method.cpp line 404:
> 
>> 402: }
>> 403: 
>> 404: #if INCLUDE_CDS
> 
> Do you need to ifdef out the declaration in method.hpp?

Fixed. I also found out that `Method::restore_unshareable_info` also needed to be ifdef'ed out.

-------------

PR: https://git.openjdk.org/jdk/pull/10010


More information about the hotspot-dev mailing list