JDK-8313882 : Fix -Wconversion warnings in runtime code
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-08-07
  • Updated: 2024-07-11
  • Resolved: 2023-08-10
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 22
22 b11Fixed
Related Reports
Relates :  
Relates :  
Description
Warnings coming from code in the runtime directory counts.

21 src/hotspot/share/runtime/java.cpp
16 src/hotspot/share/runtime/objectMonitor.hpp
12 src/hotspot/share/runtime/relocator.cpp
11 src/hotspot/share/runtime/sharedRuntime.cpp
10 src/hotspot/share/runtime/arguments.cpp
6 src/hotspot/share/runtime/synchronizer.cpp
6 src/hotspot/share/runtime/deoptimization.cpp
6 src/hotspot/share/runtime/continuationFreezeThaw.cpp
3 /scratch/cphillim/hg/22os-conversion/test/hotspot/gtest/runtime/test_os.cpp
2 /scratch/cphillim/hg/22os-conversion/test/hotspot/gtest/runtime/test_stubRoutines.cpp
2 src/hotspot/share/runtime/thread.cpp
2 src/hotspot/share/runtime/signature.cpp
2 src/hotspot/share/runtime/javaThread.cpp
1 src/hotspot/share/runtime/vmStructs.cpp
1 src/hotspot/share/runtime/vframeArray.cpp
1 src/hotspot/share/runtime/trimNativeHeap.cpp
1 src/hotspot/share/runtime/timer.cpp
1 src/hotspot/share/runtime/threadHeapSampler.cpp
1 src/hotspot/share/runtime/stubRoutines.cpp
1 src/hotspot/share/runtime/statSampler.cpp
1 src/hotspot/share/runtime/safepoint.cpp
1 src/hotspot/share/runtime/os.cpp

Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/788 Date: 2024-06-24 10:45:03 +0000
11-07-2024

Backporting note: needs `pointer_delta_as_int` from JDK-8310906.
06-05-2024

Changeset: f47767ff Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2023-08-10 11:57:25 +0000 URL: https://git.openjdk.org/jdk/commit/f47767ffef29c777e2da0262fa3299564d59f461
10-08-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15177 Date: 2023-08-07 12:57:35 +0000
07-08-2023