Integrated: 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:47 UTC 2023


On Thu, 23 Mar 2023 10:38:04 GMT, Thomas Schatzl <tschatzl 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 pull request has now been integrated.

Changeset: 13dd19aa
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/13dd19aac2f259c8c22dc79c615e3bdc546f1850
Stats:     8 lines in 2 files changed: 1 ins; 5 del; 2 mod

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

Reviewed-by: ayang, dholmes

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

PR: https://git.openjdk.org/jdk/pull/13156


More information about the hotspot-gc-dev mailing list