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

MethodType field offset calculation could be lazy

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 9
    • None
    • core-libs
    • None
    • b92
    • generic
    • generic

    Backports

      Description

        java.lang.invoke.MethodType has a static initializer block that initializes two long offset fields only used for deserialization. This initialization could be done lazily using a Holder class.

        Attachments

          Issue Links

            Activity

              People

                redestad Claes Redestad
                redestad Claes Redestad
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: