Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-8534

Improve ClassLoadingAwareObjectInputStream.checkSecurity(Class) performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      checkSecurity() always calls Class.getPackage() even if all packages are trusted. Since Package.getSystemPackage() is internally synchronized, this becomes a bottleneck in parallel processing.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              otbutz Thomas Butz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: