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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b138
    • CPU:
      ppc

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: