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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: 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).

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

                Created:
                Updated:
                Resolved: