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

Caching latestUserDefinedLoader() results in ObjectInputStream.readObject()

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      Object deserialization walks stack frames to identify the class loader for resolving deserializing classes by calling latestUserDefinedLoader(). This stack walking can cause non-negligible overhead when many objects are deserialized. Caching the class loader improved maxjOPS of SPECjbb2015 by 6% on a POWER8 machine.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            horii Hiroshi Horii
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: