< prev index next >
src/os/linux/vm/os_linux.cpp
Print this page
rev 10456 : 8151593: Cleanup definition/usage of INLINE/NOINLINE macros and add xlC support
Contributed-by: matthias.baesken@sap.com
*** 591,609 ****
// stack mapping.
//
// _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) {
address sp;
size_t size;
volatile char *p;
// Adjust bottom to point to the largest address within the same page, it
--- 591,601 ----
// stack mapping.
//
// _expand_stack_to() assumes its frame size is less than page size, which
// should always be true if the function is not inlined.
! static void NOINLINE _expand_stack_to(address bottom) {
address sp;
size_t size;
volatile char *p;
// Adjust bottom to point to the largest address within the same page, it
< prev index next >