Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8165315

[ppc] Port "8133749: NMT detail stack trace cleanup"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • b138
    • ppc

      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.

            goetz Goetz Lindenmaier
            goetz Goetz Lindenmaier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: