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

Ioi Lam iklam at openjdk.org
Fri Aug 26 04:45:33 UTC 2022


On Thu, 25 Aug 2022 23:23:01 GMT, David Holmes <dholmes 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.hpp line 138:
> 
>> 136: 
>> 137:   void remove_unshareable_info()        NOT_CDS_RETURN;
>> 138:   void restore_unshareable_info(TRAPS)  NOT_CDS_RETURN;
> 
> Surely these should ifdef'd out not stubbed out? The callers of these should also be in INCLUDE_CDS blocks.

Fixed.

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

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


More information about the hotspot-dev mailing list