Proposal: Clarifying the CSR rules for dealing with various kinds of -XX flags for hotspot
mark.reinhold at oracle.com
mark.reinhold at oracle.com
Wed Feb 28 18:16:35 UTC 2018
2018/2/28 10:06:28 -0800, joe.darcy at oracle.com:
> The most relevant part of the existing CSR document is one of the FAQ items:
>
>> Q: What sort of changes require CSR review?
>> A: Any change to a JDK interface meant to be used outside of the JDK
>> itself requires CSR review. In this context "interface" isn't limited
>> to the Java programing language definition of an interface, but
>> encompasses the broader concept of a protocol between the JDK and
>> users of the JDK. Examples of interfaces by this definition include:
>>
>> * Changes to public exported APIs in java.* and javax.* packages.
>> * Changes to public and exported APIs in jdk.*packages.
>> * New language updates to the Java Programming Language
>> * New structures in the Java Virtual Machine Specification
>> * Adding or removing a command in $JDK/bin
>> * Adding, removing, or changing a command line option
>> * Using or defining an environment variable
>> * Using or defining a new file format or wire format
>> * Changing or defining a new system or security property
>>
>
> In the context of this CSR FAQ item, I think a reasonable
> update/clarification would be "Interfaces that are experimental or for
> diagnostic purposes do not need to go through CSR, but the CSR may be
> consulted for feedback if desired." (Related update: incubating APIs
> should go through CSR.)
>
> I don't think adding a detailed explanation of the six kinds of flags
> HotSpot currently defines is a good fit in this document.
If HotSpot's experimental/diagnostic flags are not subject to CSR review
then I agree that they can be documented outside of the CSR process
itself.
- Mark
More information about the csr-discuss
mailing list