JDK-8280472 : Don't mix legacy logging with UL
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-01-21
  • Updated: 2022-07-14
  • Resolved: 2022-07-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 20
20 b06Fixed
Related Reports
Relates :  
Description
src/hotspot/share/oops/method.cpp:

  1474   if (log_is_enabled(Info, methodhandles) && (Verbose || WizardMode)) {
  1475     LogTarget(Info, methodhandles) lt;
  1476     LogStream ls(lt);
  1477     m->print_on(&ls);
  1478   }

Should be "log_is_enabled(Debug, methodhandles)" (or even log_is_enabled(Trace,...") instead.
Comments
Changeset: 2579373d Author: Koichi Sakata <ksakata@openjdk.org> Committer: David Holmes <dholmes@openjdk.org> Date: 2022-07-11 09:24:16 +0000 URL: https://git.openjdk.org/jdk/commit/2579373dd0cc151dad22e4041f42bbd314b3be5f
11-07-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/9175 Date: 2022-06-16 01:39:33 +0000
16-06-2022