Remove includes of oop.inline.hpp from .hpp files

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • gc
    • b53

        Our inline.hpp files should preferably only be included from .cpp files or other .inline.hpp files. When they are included in .hpp files, the include dependency of the implementation spreads to unrelated parts of the code base, and it's easy to get circular dependencies.

        This guide line is documented on:
        https://wiki.openjdk.java.net/display/HotSpot/StyleGuide#Files

        oop.inline.hpp is one of the more problematic files, and I propose a patch to get rid of all inclusions of oop.inline.hpp from other .hpp files.

              Assignee:
              Stefan Karlsson
              Reporter:
              Stefan Karlsson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: