Integrated: JDK-8075816: Deprecate AliasLevel flag since it is broken

Tobias Holenstein duke at openjdk.java.net
Wed Apr 20 09:46:32 UTC 2022


On Thu, 7 Apr 2022 08:29:07 GMT, Tobias Holenstein <duke at openjdk.java.net> wrote:

> Deprecate the `AliasLevel` flag. `AliasLevel` can have the following values:  
> 
> "0 - for no aliasing, "
> "1 - for oop/field/static/array split, "
> "2 - for class split, "
> "3 - for unique instances"
> 
>  - Deprecate AliasLevel in JDK 19.
>  - Obsolete it in JDK 20
>  - Expire it in JDK 21.
> 
> Users will now get the following message when running:
> `java -XX:AliasLevel= Java HotSpot(TM) 64-Bit Server VM warning: Option AliasLevel was deprecated in version 19.0 and will likely be removed in a future release.`

This pull request has now been integrated.

Changeset: 46b2e547
Author:    Tobias Holenstein <tobias.holenstein at oracle.com>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/46b2e547a9f680a2a93fecc2b223e895c26e96d7
Stats:     4 lines in 3 files changed: 3 ins; 0 del; 1 mod

8075816: Deprecate AliasLevel flag since it is broken

Reviewed-by: thartmann, kvn

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

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


More information about the hotspot-dev mailing list