thread.inline.hpp includes the wrong primary header file

XMLWordPrintable

    • b03
    • 20
    • b13

      From the style-guide:

      All .inline.hpp files should include their corresponding .hpp file as the first include line with a blank line separating it from the rest of the include lines.

      But thread.inline.hpp starts:

      #ifndef SHARE_RUNTIME_THREAD_INLINE_HPP
      #define SHARE_RUNTIME_THREAD_INLINE_HPP

      #include "runtime/javaThread.hpp"

      #include "gc/shared/tlab_globals.hpp"
      ...

      We should be including thread.hpp not javaThread.hpp

            Assignee:
            Paul Hübner
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: