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.
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
- links to
-
Review openjdk/jdk/1301