Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-10722

investigate high cpu in sun.security.provider package for Create Managed User

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: OpenIDM 6.0.0
    • Fix Version/s: 6.5.0
    • Component/s: None
    • Labels:
    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      2
    • Sprint:
      OpenIDM Sprint 6.5-3, OpenIDM Sprint 6.5-4, OpenIDM Sprint 6.5-5
    • Support Ticket IDs:

      Description

      When stressing OpenIDM with creating managed user (10 concurrency), 70% cpu is spend on sun.security.provider.

      55% of the samples are in sun.security.provider.MD5.impleCompress, which is called from
      org.forgerock.jaspi.modules.session.jwt.AbstractJwtSessionModule.secureResponse(MessageInfo)
      org.forgerock.jaspi.modules.session.jwt.AbstractJwtSessionModule.validateJwtSessionCookie(MessageInfo)

      The next few are:
      Stack Trace Sample Count Percentage(%)
      sun.security.provider.MD5.implCompress(byte[], int) 6,358 55.071
      sun.security.provider.DigestBase.implCompressMultiBlock(byte[], int, int) 1,055 9.138
      sun.security.provider.ByteArrayAccess.b2iLittle64(byte[], int, int[]) 513 4.443
      sun.security.provider.ByteArrayAccess.i2bLittle4(int, byte[], int) 380 3.291
      sun.security.provider.DigestBase.engineDigest(byte[], int, int) 375 3.248
      java.security.MessageDigest$Delegate.engineUpdate(byte[], int, int) 196 1.698

        Attachments

        1. r1.jfr
          4.35 MB
        2. stacktrace1.txt
          23 kB

          Issue Links

            Activity

              People

              • Assignee:
                jason Jason Lemay
                Reporter:
                jenny.zhang Jenny Zhang [X] (Inactive)
                QA Assignee:
                Jenny Zhang [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: