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

Performance problem when retransforming classes at JVMD startup

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      When JVMD starts it retransforms loaded classes.
      We saw that retransformation takes a long time per class (in certain cases it took about 1 second per class).
      The amount of retransformed classes varies according to the environment and to the time JVMD was deployed (if it is deployed right after jvm satrtup less classes will be retransformed then if it is restranformed later).
      In the current implementation retransformation is done one class at a time, but the problem occurs also if all the classes are retransformed at the same time.
      The retransformed classes do NOT have large amount of attributes or methods

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sspitsyn Serguei Spitsyn
                Reporter:
                nrivier Nimrod Rivier
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: