RFR: 8256718: Obsolete the long term deprecated and aliased Trace flags [v2]

David Holmes dholmes at openjdk.java.net
Wed Dec 2 02:44:58 UTC 2020


On Wed, 2 Dec 2020 02:11:35 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Keeping the message for any flag requires keeping all the supporting code. I don't see the "big 3" are special. They have been deprecated since 9 and we have clearly told people this when they use them. We're also release-noting this for 16 (again - this was documented when UL was added). I don't think we have to pander to anyone who hasn't updated their launch scripts by now.
>
> For these three, I kind of like the pandering.  I'm not sure that the release note will reach people using these, especially -XX:+TraceExceptions.  I guess they've been getting a deprecation message since 9 so maybe it won't be such a surprise.  I never stand in the way of removing code that people won't need, if you think this is the case.

I think we should remove them. There is a risk that the user might not notice the difference between the old and new messages and so not realize they don't actually have active logging any more (until they go to access the logs to diagnose a problem).

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

PR: https://git.openjdk.java.net/jdk/pull/1525


More information about the serviceability-dev mailing list