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

Shenandoah: Fix compilation error related to atomic/orderAccess changes

    Details

    • Subcomponent:
      gc
    • CPU:
      generic
    • OS:
      windows

      Description

      Nightlies threw up an error in Windows builds:

      c:\cygwin64\home\windows\worker\jdkX-windows\build\src\hotspot\share\runtime/atomic.hpp(678) : error C2514: 'Atomic::StoreImpl<D,T,Atomic::PlatformOrderedStore<0x04,RELEASE_X_FENCE>,void>' : class has no constructors
              with
              [
                  D=jint
      , T=int
              ]
              c:/cygwin64/home/windows/worker/jdkX-windows/build/src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.cpp(116) : see reference to function template instantiation 'void Atomic::release_store_fence<jint,int>(volatile D *,T)' being compiled
              with
              [
                  D=jint
      , T=int
              ]
      make[3]: *** [lib/CompileJvm.gmk:178: /cygdrive/c/cygwin64/home/windows/worker/jdkX-windows/build/build/windows-x86_64-server-fastdebug/hotspot/variant-server/libjvm/objs/shenandoahEvacOOMHandler.obj] Error 1
      make[3]: *** Waiting for unfinished jobs....
      make[2]: *** [make/Main.gmk:268: hotspot-server-libs] Error 2

      This seems to be caused by JDK-8234562

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rkennke Roman Kennke
                Reporter:
                rkennke Roman Kennke
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: