< prev index next >

src/hotspot/share/utilities/globalDefinitions_gcc.hpp

Print this page

        

*** 273,278 **** --- 273,284 ---- // GCC versions older than 4.6.4 would fail even with "+0", and needs additional // cast to __typeof__(x) to work around the similar bug. // #define ATTRIBUTE_ALIGNED(x) __attribute__((aligned((__typeof__(x))x+0))) + #define LIKELY(condition) __builtin_expect(static_cast<bool>(condition), 1) + #define UNLIKELY(condition) __builtin_expect(static_cast<bool>(condition), 0) + + #define __COLD __attribute__((cold)) + #define __HOT __attribute__((hot)) + #endif // SHARE_UTILITIES_GLOBALDEFINITIONS_GCC_HPP
< prev index next >