--- a/hotspot/src/os/linux/vm/os_linux.cpp Fri Mar 11 12:17:35 2016 +0100
+++ b/hotspot/src/os/linux/vm/os_linux.cpp Fri Mar 11 16:39:38 2016 +0100
@@ -593,15 +593,7 @@
// _expand_stack_to() assumes its frame size is less than page size, which
// should always be true if the function is not inlined.
-#if __GNUC__ < 3 // gcc 2.x does not support noinline attribute
- #define NOINLINE
-#else
- #define NOINLINE __attribute__ ((noinline))
-#endif
-
-static void _expand_stack_to(address bottom) NOINLINE;
-
-static void _expand_stack_to(address bottom) {
+static void NOINLINE _expand_stack_to(address bottom) {
address sp;
size_t size;
volatile char *p;