RFR: 8278423: ExtendedDTraceProbes should be deprecated [v2]
David Holmes
dholmes at openjdk.java.net
Tue Jan 18 21:35:23 UTC 2022
On Tue, 18 Jan 2022 16:17:43 GMT, Emanuel Peter <duke at openjdk.java.net> wrote:
>> @dholmes-ora : The warning is actually not already generated, since this flag is handled separately, the handling is only done if none of the cases matches, and we land in the `} else if (match_option(option, "-XX:", &tail)) { // -XX:xxxx` case.
>> I had to add the warning separately now. I think this is a bug though, @TobiHartmann thought so too. All options should first be checked if they are deprecated.
>
> Thank you very much, I added the flag to the Test.
@eme64 thanks for that correction - yes I thought we checked all args up front and then processed the specialized logic. The opposite does make some sense though as it means we can use the table and do specialized handling. When the flag is obsoleted we delete the specialized handling.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7110
More information about the hotspot-dev
mailing list