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

Jaroslav Bachorik jbachorik at openjdk.org
Fri Dec 29 17:50:48 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`.

This pull request has now been integrated.

Changeset: e55ee09e
Author:    Jaroslav Bachorik <jbachorik at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/e55ee09e5e8260a23c1b7b8c8918f7e4926b246b
Stats:     9 lines in 1 file changed: 8 ins; 0 del; 1 mod

8322752: [11u] GetStackTraceAndRetransformTest.java is failing assert

Reviewed-by: goetz

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

PR: https://git.openjdk.org/jdk11u-dev/pull/2423


More information about the jdk-updates-dev mailing list