JDK-8300981 : Build failure on 32-bit platforms after JDK-8281213
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-01-24
  • Updated: 2023-01-30
  • Resolved: 2023-01-24
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 21
21 b07Fixed
Related Reports
Relates :  
Description
* For target hotspot_variant-server_libjvm_objs_memReporter.o:
In file included from /home/jdk/src/hotspot/share/memory/allocation.hpp:29:0,
                 from /home/jdk/src/hotspot/share/cds/metaspaceShared.hpp:28,
                 from /home/jdk/src/hotspot/share/cds/filemap.hpp:28,
                 from /home/jdk/src/hotspot/share/services/memReporter.cpp:25:
/home/jdk/src/hotspot/share/services/memReporter.hpp: In member function 'int64_t MemReporterBase::diff_in_current_scale(size_t, size_t) const':
/home/jdk/src/hotspot/share/services/memReporter.hpp:79:15: error: comparison is always true due to limited range of data type [-Werror=type-limits]
     assert(s1 < INT64_MAX, "exceeded possible memory limits");
               ^
/home/jdk/src/hotspot/share/utilities/debug.hpp:59:9: note: in definition of macro 'vmassert'
   if (!(p)) {                                                                  \
         ^
/home/jdk/src/hotspot/share/services/memReporter.hpp:79:5: note: in expansion of macro 'assert'
     assert(s1 < INT64_MAX, "exceeded possible memory limits");
     ^~~~~~
/home/jdk/src/hotspot/share/services/memReporter.hpp:80:15: error: comparison is always true due to limited range of data type [-Werror=type-limits]

Comments
Changeset: 13394615 Author: Jie Fu <jiefu@openjdk.org> Date: 2023-01-24 23:44:35 +0000 URL: https://git.openjdk.org/jdk/commit/133946159c699afa2748b41271c15c5a7ec5bc53
24-01-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/12165 Date: 2023-01-24 11:03:15 +0000
24-01-2023