RFR: 8212826: Make PtrQueue free list lock-free - Build error in gtest

Langer, Christoph christoph.langer at sap.com
Sun Jan 20 19:02:41 UTC 2019


Hi Kim,

my configure says:
* Toolchain:      microsoft (Microsoft Visual Studio 2017)
* C Compiler:     Version 19.16.27024.1 (at /cygdrive/c/progra~2/mib055~1/2017/profes~1/vc/tools/msvc/1416~1.270/bin/hostx86/x64/cl)
* C++ Compiler:   Version 19.16.27024.1 (at /cygdrive/c/progra~2/mib055~1/2017/profes~1/vc/tools/msvc/1416~1.270/bin/hostx86/x64/cl)

So it probably has to do with that newer version...

Best regards
Christoph

> -----Original Message-----
> From: Kim Barrett <kim.barrett at oracle.com>
> Sent: Sonntag, 20. Januar 2019 19:56
> To: Langer, Christoph <christoph.langer at sap.com>
> Cc: hotspot-gc-dev at openjdk.java.net
> Subject: Re: RFR: 8212826: Make PtrQueue free list lock-free - Build error in
> gtest
> 
> > On Jan 20, 2019, at 9:08 AM, Langer, Christoph
> <christoph.langer at sap.com> wrote:
> >
> > Hi Kim,
> >
> > in my build on Windows I now get this:
> > c:/mercurial/jdk/test/hotspot/gtest/utilities/test_lockFreeStack.cpp(54):
> error C2921: redefinition: 'Stack': class template is being redeclared as
> 'typedef LockFreeStackTestElement::Stack Stack'
> > c:\mercurial\jdk\src\hotspot\share\utilities/stack.hpp(93): note: see
> declaration of 'Stack'
> > Seems like there's a conflict.
> >
> > Are you aware of that? Is there already a bug open for this?
> 
> It builds fine with the version of Windows we are using in our automated test
> setup.
> What version of Windows are you using?  We’re using VS2017 with MSVC++
> 15.5.
> Or maybe there’s a configuration difference?



More information about the hotspot-gc-dev mailing list