RFR: 8278131: runtime/cds/appcds/dynamicArchive/* tests failing in loom repo [v2]

Calvin Cheung ccheung at openjdk.java.net
Wed Dec 15 18:22:33 UTC 2021


> A few dynamic archive CDS tests are failing in the loom repo due to more aggressive GC of code cache
> which leads to unloading of some classes before being written into a dynamic CDS archive.
> 
> This change is to make the affected tests more reliable by ensuring the test classes are not unloaded
> during dynamic CDS dump time.
> 
> Testing: Oracle CI tiers 1,2,4.

Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:

  use the STRONG ClassOption to create a hidden class if the keepAlive is set

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6843/files
  - new: https://git.openjdk.java.net/jdk/pull/6843/files/998817f4..e947fe06

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6843&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6843&range=00-01

  Stats: 10 lines in 1 file changed: 1 ins; 6 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6843.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6843/head:pull/6843

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


More information about the hotspot-runtime-dev mailing list