RFR: 8304802: After JDK-8297639 the flag G1UsePreventiveGC needs to be added to the obsoletion table

Thomas Schatzl tschatzl at openjdk.org
Fri Mar 24 12:07:45 UTC 2023


On Fri, 24 Mar 2023 03:14:49 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Hi all,
>> 
>>   please review this change that puts the `G1UsePreventiveGC` into the argument obsoletion table so that the appropriate warning is printed when starting the VM with that option. Functionality has already been removed ~, and CSR request approved~ with [JDK-8297639](https://bugs.openjdk.org/browse/JDK-8297639).
>> 
>> (Edit: no CSR request required because this was a diagnostic flag)
>> 
>> Testing: local compilation, manual testing that the obsoletion warning is printed on the command line.
>> 
>> Thanks,
>>   Thomas
>
> This set of bugs is very confusing, but I'm not seeing the CSR request you mentioned that allowed these flags to be deprecated, then obsoleted. ??

Thanks @dholmes-ora @albertnetymk for your reviews

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

PR Comment: https://git.openjdk.org/jdk/pull/13156#issuecomment-1482692524


More information about the hotspot-gc-dev mailing list