[jdk11u-dev] RFR: 8283276: java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs

Satyen Subramaniam ssubramaniam at openjdk.org
Wed Jul 16 18:12:42 UTC 2025


On Wed, 16 Jul 2025 17:15:52 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:

> Backporting JDK-8283276: java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs. Adjusting test to be compatible with GCs other than G1. Ran GHA Sanity Checks, local Tier 1 and 2, and adjusted test directly. Patch is **nearly clean**: since `Reference.refersTo` is not supported, needs minor adjustments.

Taking a closer look at the history, seeing [this](https://github.com/openjdk/jdk11u-dev/pull/869/commits/5ec1e0b8a2a1c3ed745b8ff5fb97b8c0d67354a3) commit when initially backporting the test. Planning to adjust to not use `Reference.refersTo` (which JDK 11 doesn't directly support), rerun local tests and add another commit here.

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

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/3064#issuecomment-3079727220


More information about the jdk-updates-dev mailing list