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

Simplify lazy jmethodID cache in InstanceKlass

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 23
    • 22
    • hotspot
    • None
    • b18

    Description


      InstanceKlass has a jmethodID cache that lazily grows after redefinition upon request for a new jmethodID. This lazy growth is because for obsolete methods, the method idnum is incremented.
      This lazy growth requires that jmethodIDs may have to be deleted if there's a race in creating them.
      Since redefinition is at a safepoint, we can just extend the jmethodID cache then since we know the count.

      Attachments

        Issue Links

          Activity

            People

              coleenp Coleen Phillimore
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: