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

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

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

              Created:
              Updated:
              Resolved: