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

ZGC: Windows compile error in ZUtils

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • hotspot
    • gc
    • b20
    • windows

      We got a report of an encountered of the following compilation error:
      src\hotspot\share\gc/z/zUtils.inline.hpp(87): error C2066: cast to function type is illegal
      src\hotspot\share\gc/z/zUtils.inline.hpp(97): note: see reference to function template instantiation 'void ZUtils::sort<zbacking_index,sort_zbacking_index_array::<lambda_1>>(T *,size_t,Comparator)' being compiled
              with
              [
                  T=zbacking_index,
                  Comparator=sort_zbacking_index_array::<lambda_1>
              ]
      src\hotspot\share\gc\z\zPhysicalMemoryManager.cpp(303): note: see reference to function template instantiation 'void ZUtils::sort<zbacking_index,sort_zbacking_index_array::<lambda_1>>(T *,int,Comparator)' being compiled
              with
              [
                  T=zbacking_index,
                  Comparator=sort_zbacking_index_array::<lambda_1>
              ]
      make[3]: *** [lib/CompileJvm.gmk:174: jdk/build/windows-x86_64-server-fastdebug/hotspot/variant-server/libjvm/objs/zPhysicalMemoryManager.obj] Error 1
      make[3]: *** Waiting for unfinished jobs....
      make[2]: *** [make/Main.gmk:236: hotspot-server-libs] Error 2 (edited)

            stefank Stefan Karlsson
            stefank Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: