< prev index next >
src/os/aix/vm/porting_aix.cpp
Print this page
*** 147,157 ****
}
codeptr_t pc2 = (codeptr_t) pc;
// Make sure the pointer is word aligned.
! pc2 = (codeptr_t) align_ptr_up((char*)pc2, 4);
CHECK_POINTER_READABLE(pc2)
// Find start of traceback table.
// (starts after code, is marked by word-aligned (32bit) zeros)
while ((*pc2 != NULL) && (searchcount++ < MAX_FUNC_SEARCH_LEN)) {
--- 147,157 ----
}
codeptr_t pc2 = (codeptr_t) pc;
// Make sure the pointer is word aligned.
! pc2 = (codeptr_t) align_up((char*)pc2, 4);
CHECK_POINTER_READABLE(pc2)
// Find start of traceback table.
// (starts after code, is marked by word-aligned (32bit) zeros)
while ((*pc2 != NULL) && (searchcount++ < MAX_FUNC_SEARCH_LEN)) {
< prev index next >