RFR: 8258074: Move some flags related to compiler to compiler_globals.hpp [v3]
Ioi Lam
iklam at openjdk.java.net
Wed Dec 16 04:41:13 UTC 2020
> Many flags in globals.hpp are related to the compiler, and are mostly used only by the compiler source files. These flags should be moved to compiler_globals.hpp
>
> Examples:
>
> - CompileCommandFile
> - Tier2CompileThreshold
> - HugeMethodLimit
>
> This speeds up HotSpot build time, and improves modularity.
>
> This RFE is the first step -- it moves a few dozen flags that are straight-forward to move. Other flags may be moved by follow-up RFEs.
>
> Tested with mach5: tier1, builds-tier2, builds-tier3, builds-tier4 and builds-tier5 on mach5, plus locally building arm, aarch64, s390, ppc64, and zero.
Ioi Lam has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
- Merge branch 'master' into 8258074-move-compiler-globals
- fixed gtest
- 8258074: Move some flags related to compiler to compiler_globals.hpp
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/1746/files
- new: https://git.openjdk.java.net/jdk/pull/1746/files/c218bd66..fc9c673f
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1746&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1746&range=01-02
Stats: 6071 lines in 178 files changed: 4168 ins; 1363 del; 540 mod
Patch: https://git.openjdk.java.net/jdk/pull/1746.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1746/head:pull/1746
PR: https://git.openjdk.java.net/jdk/pull/1746
More information about the hotspot-dev
mailing list