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

Build failures after JDK-8253353

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b35

      Backports

        Description

        * For target hotspot_variant-server_libjvm_objs_shenandoahSupport.o:
        /home/buildbot/worker/build-jdk16u-linux/build/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp: In member function 'void MemoryGraphFixer::collect_memory_nodes()':
        /home/buildbot/worker/build-jdk16u-linux/build/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp:2291:43: error: no matching function for call to 'MAX2(uint8_t&, uint16_t&)'
             max_depth = MAX2(max_depth, lpt->_nest);
                                                   ^
        In file included from /home/buildbot/worker/build-jdk16u-linux/build/src/hotspot/share/metaprogramming/primitiveConversions.hpp:30:0,
                         from /home/buildbot/worker/build-jdk16u-linux/build/src/hotspot/share/oops/oopHandle.hpp:28,
                         from /home/buildbot/worker/build-jdk16u-linux/build/src/hotspot/share/classfile/systemDictionary.hpp:28,
                         from /home/buildbot/worker/build-jdk16u-linux/build/src/hotspot/share/classfile/javaClasses.hpp:28,
                         from /home/buildbot/worker/build-jdk16u-linux/build/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp:27:
        /home/buildbot/worker/build-jdk16u-linux/build/src/hotspot/share/utilities/globalDefinitions.hpp:1029:31: note: candidate: template<class T> constexpr T MAX2(T, T)
         template<class T> constexpr T MAX2(T a, T b) { return (a > b) ? a : b; }
                                       ^~~~
        /home/buildbot/worker/build-jdk16u-linux/build/src/hotspot/share/utilities/globalDefinitions.hpp:1029:31: note: template argument deduction/substitution failed:
        /home/buildbot/worker/build-jdk16u-linux/build/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp:2291:43: note: deduced conflicting types for parameter 'T' ('unsigned char' and 'short unsigned int')
             max_depth = MAX2(max_depth, lpt->_nest);
           ... (rest of output omitted)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                shade Aleksey Shipilev
                Reporter:
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: