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

Handle disableEagerInitialization for archived lambda proxy classes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • P4
    • tbd
    • 16
    • hotspot

    Description

      During dumping of lambda proxy classes, we currently did not account for the setting of the jdk.internal.lambda.disableEagerInitialization system property.

      During runtime when looking up a lambda proxy class from the CDS archive, we currently only perform the lookup if the above property is not set.

      The setting of the property should be stored during dump time. When a lambda proxy class is being lookup from the archive, the property setting in the archive should be compared with the runtime setting. If they don't match, we should not return the archived lambda proxy class.

      Attachments

        Issue Links

          Activity

            People

              ccheung Calvin Cheung
              ccheung Calvin Cheung
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: