# HG changeset patch # User jprovino # Date 1386787888 18000 # Node ID cca85d826c8f498a4ef32a9d4556f458dd44d6e7 # Parent 567455579fe420a835f103cdc672b367c47d265c 8029566: PPC: OrderAccess::load_acquire(julong) is broken Summary: JFR needs this fix to run on PPC Reviewed-by: sla, mikael diff -r 567455579fe4 -r cca85d826c8f src/share/vm/utilities/globalDefinitions_gcc.hpp --- a/src/share/vm/utilities/globalDefinitions_gcc.hpp Wed Dec 11 01:09:04 2013 +0400 +++ 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; }