On ppc the test that came with 8133749 fails. There are several things to fix:
On power, current_frame() returns the frame of the method that called current_frame(). This is as documented in os.hpp.
Get_native_stack() in os_posix.cpp expects current_frame() to go up
one more frame. To adapt to this expectation, we increment toSkip by
one on ppc, which has the same effect. (If we change current_frame(),
one less frame will be printed to hs_err files etc.)
"8153743: AllocateHeap() and ReallocateHeap() should use ALWAYSINLINE macro" is not properly implemented on Aix. The 'inline' keyword is missing in the macro on aix.
Also, on Aix ALWAYSINLINE has no effect in the slowdebug build. So the test whether AllocateHeap is inlined must be skipped as on other platforms.
On power, current_frame() returns the frame of the method that called current_frame(). This is as documented in os.hpp.
Get_native_stack() in os_posix.cpp expects current_frame() to go up
one more frame. To adapt to this expectation, we increment toSkip by
one on ppc, which has the same effect. (If we change current_frame(),
one less frame will be printed to hs_err files etc.)
"8153743: AllocateHeap() and ReallocateHeap() should use ALWAYSINLINE macro" is not properly implemented on Aix. The 'inline' keyword is missing in the macro on aix.
Also, on Aix ALWAYSINLINE has no effect in the slowdebug build. So the test whether AllocateHeap is inlined must be skipped as on other platforms.