[jdk17u] RFR: 8338139: {ClassLoading, Memory}MXBean::isVerbose methods are inconsistent with their setVerbose methods

Goetz Lindenmaier goetz at openjdk.org
Mon Sep 2 08:08:06 UTC 2024


A backport to jdk17u as this fixes a jck issue.  Based on the commit to 21.

Will fix the title after pushing change to 21 to point to 21 commit.

The change of 21 does not apply clean:
src/hotspot/share/services/classLoadingService.cpp
Copyright

src/hotspot/share/services/classLoadingService.hpp
Resolved due to context

src/hotspot/share/services/memoryService.cpp
Copyright

To make it compile, I had to adapt StdoutLog again,
as "8293873: Centralize the initialization of UL" is not in 17.
See extra commit.

The new tests pass and fail as expected without the fix.

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

Commit messages:
 - Fix build
 - Backport 9775d57168695dc0d758e017fe5069d93d593f3e

Changes: https://git.openjdk.org/jdk17u/pull/394/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u&pr=394&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8338139
  Stats: 204 lines in 6 files changed: 198 ins; 2 del; 4 mod
  Patch: https://git.openjdk.org/jdk17u/pull/394.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u.git pull/394/head:pull/394

PR: https://git.openjdk.org/jdk17u/pull/394


More information about the jdk-updates-dev mailing list