From ebe248cb3d874d87bcc437f3286c3f53d88c8301 Mon Sep 17 00:00:00 2001 From: jprovino Date: Wed, 11 Dec 2013 13:51:28 -0500 Subject: [PATCH] 8029566: PPC: OrderAccess::load_acquire(julong) is broken Summary: JFR needs this fix to run on PPC Reviewed-by: sla, mikael --- src/share/vm/utilities/globalDefinitions_gcc.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/share/vm/utilities/globalDefinitions_gcc.hpp b/src/share/vm/utilities/globalDefinitions_gcc.hpp index a69708f8c..f66fb721e 100644 --- a/src/share/vm/utilities/globalDefinitions_gcc.hpp +++ b/src/share/vm/utilities/globalDefinitions_gcc.hpp @@ -174,6 +174,7 @@ typedef uint64_t julong; inline jint jint_cast (jfloat x) { return *(jint* )&x; } inline jlong jlong_cast (jdouble x) { return *(jlong* )&x; } +inline julong julong_cast (jdouble x) { return *(julong* )&x; } inline jfloat jfloat_cast (jint x) { return *(jfloat* )&x; } inline jdouble jdouble_cast(jlong x) { return *(jdouble*)&x; } -- GitLab