Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8300981

Build failure on 32-bit platforms after JDK-8281213

XMLWordPrintable

    • b07


      * 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]

            jiefu Jie Fu
            jiefu Jie Fu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: