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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 13
    • 13
    • hotspot
    • gc
    • b05

      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.

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

              Created:
              Updated:
              Resolved: