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

thread.inline.hpp includes the wrong primary header file

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • None
    • hotspot
    • b03
    • 20

      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 Hubner
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: