Integrated: JDK-8286459: compile error with VS2017 in continuationFreezeThaw.cpp
Matthias Baesken
mbaesken at openjdk.java.net
Wed May 11 06:59:45 UTC 2022
On Tue, 10 May 2022 14:45:43 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> After recent changes (loom?) we run into this compile error when using VS2017 :
>
> 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
>
> An additional cast can be added to make the issue go away.
This pull request has now been integrated.
Changeset: 6586e5ae
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/6586e5ae37e09a6d47f07758e710e1327e1c3be9
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
8286459: compile error with VS2017 in continuationFreezeThaw.cpp
Reviewed-by: clanger, mdoerr
-------------
PR: https://git.openjdk.java.net/jdk/pull/8632
More information about the hotspot-runtime-dev
mailing list