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

PPC64: Don't use StubCodeMarks for zero-length stubs

    Details

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

      Backports

        Description

        For some stubs we actually do not generate code on PPC64 but instead use a native C-function with inline-assembly. If the generators of these stubs contain a StubCodeMarks, they will trigger JvmtiExport::post_dynamic_code_generated_internal events with a zero length code size. This may fool clients like Oprofile which register for these events (thanks to Maynard Johnson who reported this - see http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/2014-June/002032.html).

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  simonis Volker Simonis
                  Reporter:
                  simonis Volker Simonis
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: