Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/os.cpp @ 14403:75ef1a499665
8019973: PPC64 (part 11): Fix IA64 preprocessor conditionals on AIX.
Summary: On AIX 7.1 systemcfg.h defines IA64 unconditionally, so test for !AIX where IA64 is used.
Reviewed-by: dholmes, kvn
author | goetz |
---|---|
date | Fri, 05 Jul 2013 22:17:47 +0200 |
parents | 1f4355cee9a2 |
children | 94c202aa2646 |
comparison
equal
deleted
inserted
replaced
14402:faf0c78e906b | 14403:75ef1a499665 |
---|---|
1018 | 1018 |
1019 // Looks like all platforms except IA64 can use the same function to check | 1019 // Looks like all platforms except IA64 can use the same function to check |
1020 // if C stack is walkable beyond current frame. The check for fp() is not | 1020 // if C stack is walkable beyond current frame. The check for fp() is not |
1021 // necessary on Sparc, but it's harmless. | 1021 // necessary on Sparc, but it's harmless. |
1022 bool os::is_first_C_frame(frame* fr) { | 1022 bool os::is_first_C_frame(frame* fr) { |
1023 #if defined(IA64) && !defined(_WIN32) | 1023 #if (defined(IA64) && !defined(AIX)) && !defined(_WIN32) |
1024 // On IA64 we have to check if the callers bsp is still valid | 1024 // On IA64 we have to check if the callers bsp is still valid |
1025 // (i.e. within the register stack bounds). | 1025 // (i.e. within the register stack bounds). |
1026 // Notice: this only works for threads created by the VM and only if | 1026 // Notice: this only works for threads created by the VM and only if |
1027 // we walk the current stack!!! If we want to be able to walk | 1027 // we walk the current stack!!! If we want to be able to walk |
1028 // arbitrary other threads, we'll have to somehow store the thread | 1028 // arbitrary other threads, we'll have to somehow store the thread |