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

Windows 32bit fastdebug compile error padded.hpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 16
    • hotspot
    • None
    • gc
    • x86
    • windows

      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
              ]

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

              Created:
              Updated:
              Resolved: