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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • b26
    • ppc
    • generic

        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).

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

                Created:
                Updated:
                Resolved: