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

Windows gtest build fails after JDK-8212826 (Make PtrQueue free list lock-free)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b05

      Description

      Windows:

      .../jdk/test/hotspot/gtest/utilities/test_lockFreeStack.cpp(54): error C2921: redefinition: 'Stack': class template is being redeclared as 'typedef LockFreeStackTestElement::Stack Stack'
      ...\jdk\src\hotspot\share\utilities/stack.hpp(93): note: see declaration of 'Stack'

      It seems the typedef in the test clashes with actual Stack. We can trivially rename the typedef-ed name to resolve this conflict.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: