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

Cache field offsets for well known classes defined in javaClasses.hpp

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P3
    • None
    • 11
    • hotspot

    Description

      There is a set of well known classes (from java.base) defined in javaClasses.hpp. Some of the fields in these classes are used by hotspot and need to be computed by the VM. The offset computing is done during startup. These field offsets should be cached with CDS archive. Performance test shows small much measurable startup time improvement with caching of these field offsets.

      Attachments

        Issue Links

          Activity

            People

              jiangli Jiangli Zhou
              jiangli Jiangli Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: