[Bug 3467] New: [systemtap] Hotspot object_alloc tapset uses HeapWordSize incorrectly

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Wed Oct 11 13:36:43 UTC 2017


https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3467

            Bug ID: 3467
           Summary: [systemtap] Hotspot object_alloc tapset uses
                    HeapWordSize incorrectly
           Product: IcedTea
           Version: unspecified
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: SystemTap
          Assignee: mark at klomp.org
          Reporter: sgehwolf at redhat.com
                CC: unassigned at icedtea.classpath.org

https://icedtea.classpath.org/hg/icedtea/file/6ca362ebc8c7/tapset/hotspot.stp.in#l123

It multiplies the passed in argument ($arg4) by the HeapWordSize global. But
recent OpenJDK 8 passes in the correct value already. See:
http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/file/aa4ffb1f30c9/src/share/vm/runtime/sharedRuntime.cpp#l978

Besides, systemtap cannot read the HeapWordSize global reliably. See this
downstream bug for details:
https://bugzilla.redhat.com/show_bug.cgi?id=1492139

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20171011/a2f73225/attachment.html>


More information about the distro-pkg-dev mailing list