# HG changeset patch # User jprovino # Date 1386787888 18000 # Node ID fa6d364024c2e51180cdad7db8d0476594b6420b # Parent 3aa20cee331a0d97fa70382e56ee45c5ba1aff47 8029566: PPC: OrderAccess::load_acquire(julong) is broken Summary: JFR needs this fix to run on PPC Reviewed-by: sla, mikael diff -r 3aa20cee331a -r fa6d364024c2 src/share/vm/utilities/globalDefinitions_gcc.hpp --- a/src/share/vm/utilities/globalDefinitions_gcc.hpp Fri Dec 06 09:41:57 2013 -0800 +++ b/src/share/vm/utilities/globalDefinitions_gcc.hpp Wed Dec 11 13:51:28 2013 -0500 @@ -174,6 +174,7 @@ 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; }