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

Reduce inclusion of jniHandles.hpp

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 17
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b09

      Description

      jniHandles.hpp is included by about 800 out of 1000 HotSpot .o files. Most of these are transitively included from these header files, which don't actually need to include jniHandles.hpp.

      ci/ciBaseObject.hpp
      ci/ciMetadata.hpp
      ci/ciObject.hpp
      classfile/moduleEntry.hpp
      gc/shared/gcVMOperations.hpp
      jvmci/jvmciJavaClasses.hpp
      runtime/thread.hpp
      services/threadService.hpp

      Fixing these headers reduces the number of .o files that include jniHandles.hpp to 145

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: