RFR: 8265518: C1: Intrinsic support for Preconditions.checkIndex [v13]

Yi Yang yyang at openjdk.java.net
Tue Jun 15 02:39:47 UTC 2021


On Sat, 12 Jun 2021 08:22:32 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Hi Yi,
> 
> you may need to add the option to the obsolete-flags-table though as described in arguments.cpp:
> 
> https://github.com/openjdk/jdk/blob/5cee23a9ed0b7fe2657be7492d9c1f78fcd02ebf/src/hotspot/share/runtime/arguments.cpp#L489-L490
> 
> I think the point is to give a customer a grace period where the option is still accepted on the command line. I am not sure if that step is optional though, if one is reasonably sure that the option is unused. Maybe @dholmes-ora can chime in.
> 
> Cheers, Thomas

Hi Thomas,

I think what you said is right. It does not take too much time to do this but it can give users a smooth transition for unavailable options! I will create a new PR to do this stuff if there are no objections.

Thanks,
Yang

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

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


More information about the nio-dev mailing list