hotspot/src/os/linux/vm/os_linux.cpp
changeset 37092 0e56e3c9d545
parent 36379 0c596dc28ed7
child 37097 a4e966af48f6
equal deleted inserted replaced
37074:20b25dd44cb8 37092:0e56e3c9d545
   591 // stack mapping.
   591 // stack mapping.
   592 //
   592 //
   593 // _expand_stack_to() assumes its frame size is less than page size, which
   593 // _expand_stack_to() assumes its frame size is less than page size, which
   594 // should always be true if the function is not inlined.
   594 // should always be true if the function is not inlined.
   595 
   595 
   596 #if __GNUC__ < 3    // gcc 2.x does not support noinline attribute
   596 static void NOINLINE _expand_stack_to(address bottom) {
   597   #define NOINLINE
       
   598 #else
       
   599   #define NOINLINE __attribute__ ((noinline))
       
   600 #endif
       
   601 
       
   602 static void _expand_stack_to(address bottom) NOINLINE;
       
   603 
       
   604 static void _expand_stack_to(address bottom) {
       
   605   address sp;
   597   address sp;
   606   size_t size;
   598   size_t size;
   607   volatile char *p;
   599   volatile char *p;
   608 
   600 
   609   // Adjust bottom to point to the largest address within the same page, it
   601   // Adjust bottom to point to the largest address within the same page, it