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

Do not include access.hpp in oop.hpp

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 17
    • hotspot
    • b07

    Description

      oop.hpp is included by 860 out of 1000 HotSpot .o files. It includes access.hpp for this member function declaration only:

        template <DecoratorSet decorator>
        oop obj_field_access(int offset) const;

      Instead of access.hpp, oop.hpp should include accessDecorators.hpp. This avoids including lots of header files from the Access API.

      HotSpot build time is reduced by about 0.5% for this single-line change.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: