RFR: 8276184: Add CDS test on lambda proxy class with java agent

Calvin Cheung ccheung at openjdk.java.net
Tue Nov 2 02:03:49 UTC 2021


Adding a test when an interface (major version 49) of a lambda proxy class is being transformed by a java agent during
CDS dump time and run time. The java agent will update the version of the interface to 50.  During dump time, the
interface will be included in the CDS archive. During run time, any transformed classes will not be loaded from the
archive.

The new tests passed tiers 1,2,3,4 testing.

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

Commit messages:
 - 8276184: Add CDS test on lambda proxy class with java agent

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

PR: https://git.openjdk.java.net/jdk/pull/6205


More information about the hotspot-runtime-dev mailing list