Mercurial > hg > truffle
comparison src/share/vm/runtime/os.cpp @ 14460:8a9bb7821e28
Merge
author | kvn |
---|---|
date | Wed, 19 Feb 2014 12:08:49 -0800 |
parents | e8ef156f0bc9 abec000618bf |
children | d8041d695d19 |
comparison
equal
deleted
inserted
replaced
14360:e8ef156f0bc9 | 14460:8a9bb7821e28 |
---|---|
1099 | 1099 |
1100 // Looks like all platforms except IA64 can use the same function to check | 1100 // Looks like all platforms except IA64 can use the same function to check |
1101 // if C stack is walkable beyond current frame. The check for fp() is not | 1101 // if C stack is walkable beyond current frame. The check for fp() is not |
1102 // necessary on Sparc, but it's harmless. | 1102 // necessary on Sparc, but it's harmless. |
1103 bool os::is_first_C_frame(frame* fr) { | 1103 bool os::is_first_C_frame(frame* fr) { |
1104 #if defined(IA64) && !defined(_WIN32) | 1104 #if (defined(IA64) && !defined(AIX)) && !defined(_WIN32) |
1105 // On IA64 we have to check if the callers bsp is still valid | 1105 // On IA64 we have to check if the callers bsp is still valid |
1106 // (i.e. within the register stack bounds). | 1106 // (i.e. within the register stack bounds). |
1107 // Notice: this only works for threads created by the VM and only if | 1107 // Notice: this only works for threads created by the VM and only if |
1108 // we walk the current stack!!! If we want to be able to walk | 1108 // we walk the current stack!!! If we want to be able to walk |
1109 // arbitrary other threads, we'll have to somehow store the thread | 1109 // arbitrary other threads, we'll have to somehow store the thread |