[jdk11u-dev] RFR: 8322752: GetStackTraceAndRetransformTest.java is failing assert
Jaroslav Bachorik
jbachorik at openjdk.org
Wed Dec 27 16:11:49 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`.
The test failure is in `langtools/jdk/jshell/ToolTabSnippetTest.java` and it is `InterruptedException` and not related to the changes.
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2423#issuecomment-1870439596
More information about the jdk-updates-dev
mailing list