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

Handle disableEagerInitialization for archived lambda proxy classes

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: