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

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

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:

      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

              • Assignee:
                jiangli Jiangli Zhou
                Reporter:
                jiangli Jiangli Zhou
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: