RFR: 8258074: Move some flags related to compiler to compiler_globals.hpp

Ioi Lam iklam at openjdk.java.net
Fri Dec 11 05:33:06 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.

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

Commit messages:
 - 8258074: Move some flags related to compiler to compiler_globals.hpp

Changes: https://git.openjdk.java.net/jdk/pull/1746/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1746&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8258074
  Stats: 909 lines in 11 files changed: 469 ins; 429 del; 11 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