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

Windows 32bit fastdebug compile error padded.hpp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 16
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • CPU:
      x86
    • OS:
      windows

      Description

      Currently our Windows 32bit fastdebug build (done with VS2017) runs into this
       compile error:

      d:\builddir\jdk\src\hotspot\share\memory/padded.hpp(79): error C2975: 'pad_size': invalid template argument for 'PaddedEndImpl', expected compile-time constant expression
      d:\builddir\jdk\src\hotspot\share\memory/padded.hpp(60): note: see declaration of 'pad_size'
      d:\builddir\jdk\src\hotspot\share\gc/shared/satbMarkQueue.hpp(99): note: see reference to class template instantiation 'PaddedEnd<BufferNode::Stack,64>' being compiled
      d:\builddir\jdk\src\hotspot\share\memory/padded.hpp(46): error C3615: constexpr function 'alignment_mask' cannot result in a constant expression
      d:\builddir\jdk\src\hotspot\share\utilities/align.hpp(39): note: failure was caused by an illegal statement or expression
      d:\builddir\jdk\src\hotspot\share\gc/shared/taskqueue.hpp(456): note: see reference to class template instantiation 'Padded<ShenandoahBufferedOverflowTaskQueue,64>' being compiled
      d:\builddir\jdk\src\hotspot\share\gc/shenandoah/shenandoahTaskqueue.hpp(252): note: see reference to class template instantiation 'GenericTaskQueueSet<T,mtGC>' being compiled
              with
              [
                  T=ShenandoahObjToScanQueue
              ]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: