JDK-8258074 : Move some flags related to compiler to compiler_globals.hpp
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 16,17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-12-11
  • Updated: 2021-08-17
  • Resolved: 2020-12-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17 b02Fixed
Related Reports
Relates :  
Relates :  
Description
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.
Comments
Changeset: 17ace833 Author: Ioi Lam <iklam@openjdk.org> Date: 2020-12-16 04:36:43 +0000 URL: https://git.openjdk.java.net/jdk/commit/17ace833
16-12-2020