[lworld] RFR: 8282079: [lworld] Generate Preload attribute in lambdas and proxies if value classes are referenced

Mandy Chung mchung at openjdk.java.net
Wed Mar 2 17:34:05 UTC 2022


This patch updates the lambda metafactory and dynamic proxy generator to generate `Preload` attribute to list the classes to be preloaded.   That includes value classes and primitive class if its primitive value type is referenced.

-------------

Commit messages:
 - 8282079: [lworld] Generate Preload attribute in lambdas and proxies if value classes are referenced

Changes: https://git.openjdk.java.net/valhalla/pull/662/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=662&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8282079
  Stats: 335 lines in 5 files changed: 316 ins; 19 del; 0 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/662.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/662/head:pull/662

PR: https://git.openjdk.java.net/valhalla/pull/662



More information about the valhalla-dev mailing list