Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/os.cpp @ 14456:abec000618bf
Merge
author | kvn |
---|---|
date | Tue, 28 Jan 2014 12:25:34 -0800 |
parents | d3a3fc905c7e 2b8e28fdf503 |
children | 8a9bb7821e28 |
comparison
equal
deleted
inserted
replaced
14269:2a8891e0a082 | 14456:abec000618bf |
---|---|
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 |