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

Do not include osThread.hpp in thread.hpp

XMLWordPrintable

    • b07

      thread.hpp is a popular header file (included by 856 out of 1000 HotSpot.o file), so we should try to minimize what files are included by thread.hpp.

      We can replace the inclusion of osThread.hpp with a forward declaration of the OSThread class.

      This reduces the number of .o files that include osThread.hpp to 42.

            iklam Ioi Lam
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: