RFR: 9+8u: Windows expects "long long" constant in macroAssembler

Roman Kennke roman at kennke.org
Wed Mar 22 11:55:22 UTC 2017


Ja!

Am 22. März 2017 12:54:51 MEZ schrieb Aleksey Shipilev <shade at redhat.com>:
>$ hg diff
>diff -r 6423e664e66a src/share/vm/asm/assembler.cpp
>--- a/src/share/vm/asm/assembler.cpp	Wed Mar 22 12:40:47 2017 +0100
>+++ b/src/share/vm/asm/assembler.cpp	Wed Mar 22 12:52:22 2017 +0100
>@@ -322,7 +322,11 @@
>     // AArch64 uses 48-bit addresses
>     const unsigned long address_bits = 0xfffffffffffful;
> #elif defined(_LP64)
>+#ifdef _WINDOWS
>+    const unsigned long long address_bits = 0xffffffffffffffffull;
>+#else
>     const unsigned long address_bits = 0xfffffffffffffffful;
>+#endif // _WINDOWS
> #else
>// Shenandoah is not implemented on these platforms, make sure we build
>fine,
>     // but also crash consistently at runtime.
>
>
>Testing: hotspot_gc_shenandoah for 9 and 8u.
>
>Thanks,
>-Aleksey

-- 
Sent from my FairPhone


More information about the shenandoah-dev mailing list