Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8258459

Decouple gc_globals.hpp from globals.hpp

XMLWordPrintable

    • gc
    • b04

      Currently, globals.hpp is including gc_globals.hpp. This exposes all the GC command-line flags to almost all cpp files. However, only about 1/3 of the cpp files would require gc_globals.hpp.

      https://github.com/openjdk/jdk/blob/17ace8339dd8235f3811e3975d9ccc77910b0c77/src/hotspot/share/runtime/globals.hpp#L29

      This RFE improves modularity and improves HotSpot build time.

            iklam Ioi Lam
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: