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

Fix direct includes of g1_globals.hpp

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • 23
    • hotspot
    • gc
    • b23

      The various <gc-specific>_globals.hpp files are not supposed to be directly included. They don't do anything on their own. Instead, gc_globals.hpp should be included. It includes the various gc-specific files and applies DECLARE_FLAGS to define the flags from the included headers.

      For most GCs that pattern is correctly followed. However, there are several direct includes of g1_globals.hpp.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: