[jdk11u-dev] RFR: 8322752: [11u] GetStackTraceAndRetransformTest.java is failing assert

Goetz Lindenmaier goetz at openjdk.org
Fri Dec 29 11:38:46 UTC 2023


On Wed, 27 Dec 2023 11:47:46 GMT, Jaroslav Bachorik <jbachorik at openjdk.org> wrote:

> This pull request is addressing an omission in the backport of [JDK-8313816](https://bugs.openjdk.org/browse/JDK-8313816) where a new WhiteBox method to induce metaspace cleanup should have been invoked as a VM_Op to make sure the cleanup is happening in a safepoint.
> 
> Failing to do so will trigger assert when the test run is run against a debug build of JDK.
> 
> The fix is straightforward, creating a new `VM_WhiteBoxCleanMetaspaces` VM operation and then using it to execute `ClassLoaderDataGraph::do_unloading`.

LGTM

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

Marked as reviewed by goetz (Reviewer).

PR Review: https://git.openjdk.org/jdk11u-dev/pull/2423#pullrequestreview-1798848075


More information about the jdk-updates-dev mailing list