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

Ioi Lam iklam at openjdk.java.net
Wed Dec 16 04:41:15 UTC 2020


On Fri, 11 Dec 2020 05:07:51 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 17ace833
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/17ace833
Stats:     910 lines in 12 files changed: 470 ins; 429 del; 11 mod

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

Reviewed-by: kvn, coleenp

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

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


More information about the hotspot-dev mailing list