RFR: JDK-8302989: Add missing INCLUDE_CDS checks [v4]
Matthias Baesken
mbaesken at openjdk.org
Wed Apr 12 11:03:42 UTC 2023
On Fri, 3 Mar 2023 08:55:07 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> The cds only coding in hotspot is usually guarded with the INCLUDE_CDS macro so that it can be removed at compile time in case the correct configure flags are set.
>> However at some places INCLUDE_CDS is missing and should be added.
>>
>> One question - should (additionally to the UseSharedSpaces code section) the DumpSharedSpaces code sections be guarded as well with INCLUDE_CDS macros ?
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>
> Adjust arguments handling
So considering the low interest in adding the if INCLUDE_CDS checks in the codebase, there is still the fact that ` @requires vm.cds` is missing in quite a few tests (see the list above). So what you think about closing this PR and instead fixing the missing required comments (probably in a separate issue) ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/12691#issuecomment-1505075884
More information about the hotspot-dev
mailing list