RFR: 8251462: Remove legacy compilation policy [v6]
Igor Veresov
iveresov at openjdk.java.net
Wed Jan 27 17:25:58 UTC 2021
> This change removes the legacy compilation policy and an emulation mode to the tiered policy to simulate the old behavior with ```-XX:-TieredCompilation```. The change removed a bunch of interpreter code, devirtualizes the compilation policy API, adds a consistent way to query compiler configuration with the new ```CompilerConfig``` API.
>
> I've tested this with hs-tier{1,2,3,4,5}. And also made sure it builds and works with C1/C2-Graal/AOT being enabled/disabled.
>
> Since there are platform-specific changes I would greatly appreciate some help from the maintainers of the specific ports to verify the build and run basic smoke tests. I've already tested x64 and aarch64. Thanks!
Igor Veresov has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains six commits:
- Address Vladimir's review comments
- Check legacy flags validity before deriving flag values for emulation mode.
- Fix another s390 compilation failure
- Fix s390 build
- Fix copyright years
- Remove legacy compilation policy.
-------------
Changes: https://git.openjdk.java.net/jdk/pull/1985/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1985&range=05
Stats: 5318 lines in 98 files changed: 1519 ins; 2994 del; 805 mod
Patch: https://git.openjdk.java.net/jdk/pull/1985.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1985/head:pull/1985
PR: https://git.openjdk.java.net/jdk/pull/1985
More information about the hotspot-compiler-dev
mailing list