-
Bug
-
Resolution: Fixed
-
P2
-
19
-
b22
-
x86
-
windows
After recent changes (loom?) we run into this compile error :
d:\build\jdk\src\hotspot\share\runtime\continuationFreezeThaw.cpp(2463): error C2440: 'type cast': cannot convert from 'int (__cdecl *)(JavaThread *,intptr_t *)' to 'address'
d:\build\jdk\src\hotspot\share\runtime\continuationFreezeThaw.cpp(2463): note: Context does not allow for disambiguation of overloaded function
d:\build\jdk\src\hotspot\share\runtime\continuationFreezeThaw.cpp(2451): note: see reference to function template instantiation 'void ConfigResolve::resolve<true,BarrierSet::GetType<BarrierSet::CardTableBarrierSet>::type>(void)' being compiled
d:\build\jdk\src\hotspot\share\runtime\continuationFreezeThaw.cpp(2436): note: see reference to function template instantiation 'void ConfigResolve::resolve_gc<true>(void)' being compiled
d:\build\jdk\src\hotspot\share\runtime\continuationFreezeThaw.cpp(2466): error C2440: 'type cast': cannot convert from 'intptr_t *(__cdecl *)(JavaThread *,int)' to 'address'
d:\build\jdk\src\hotspot\share\runtime\continuationFreezeThaw.cpp(2466): note: Context does not allow for disambiguation of overloaded function
the compiler we use is
Microsoft Visual Studio 2017 15.9.14
C compiler version 19.16.27032.1 [Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27032.1 for x64]
d:\build\jdk\src\hotspot\share\runtime\continuationFreezeThaw.cpp(2463): error C2440: 'type cast': cannot convert from 'int (__cdecl *)(JavaThread *,intptr_t *)' to 'address'
d:\build\jdk\src\hotspot\share\runtime\continuationFreezeThaw.cpp(2463): note: Context does not allow for disambiguation of overloaded function
d:\build\jdk\src\hotspot\share\runtime\continuationFreezeThaw.cpp(2451): note: see reference to function template instantiation 'void ConfigResolve::resolve<true,BarrierSet::GetType<BarrierSet::CardTableBarrierSet>::type>(void)' being compiled
d:\build\jdk\src\hotspot\share\runtime\continuationFreezeThaw.cpp(2436): note: see reference to function template instantiation 'void ConfigResolve::resolve_gc<true>(void)' being compiled
d:\build\jdk\src\hotspot\share\runtime\continuationFreezeThaw.cpp(2466): error C2440: 'type cast': cannot convert from 'intptr_t *(__cdecl *)(JavaThread *,int)' to 'address'
d:\build\jdk\src\hotspot\share\runtime\continuationFreezeThaw.cpp(2466): note: Context does not allow for disambiguation of overloaded function
the compiler we use is
Microsoft Visual Studio 2017 15.9.14
C compiler version 19.16.27032.1 [Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27032.1 for x64]
- relates to
-
JDK-8292008 Transition the JDK to the common standard of C11
-
- Resolved
-