RFR: JDK-8075816: Deprecate AliasLevel flag since it is broken [v3]
Tobias Holenstein
duke at openjdk.java.net
Tue Apr 19 08:00:25 UTC 2022
On Tue, 12 Apr 2022 16:29:21 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> I don't think there is a real use case for `-XX:AliasLevel=2` given that one can get similar behavior with `-XX:-EliminateAllocations` (or `-XX:-DoEscapeAnalysis`). I would therefore vote for **deprecating** `AliasLevel`.
>
> Yes, I agree with Tobias. Lets treat `-XX:AliasLevel=2` as `-XX:-EliminateAllocations`. There are tests which use this flags.
> And yes, we should deprecate `AliasLevel` but correcting bug's and CSR's text with this new information about `-XX:AliasLevel=2`.
The CSR request (JDK-8284515) is now updated for **deprecating** `AliasLevel`
-------------
PR: https://git.openjdk.java.net/jdk/pull/8140
More information about the hotspot-dev
mailing list