FYI: Add systemtap hotspot.object_alloc workaround
Mark Wielaard
mark at klomp.org
Thu Jul 29 04:58:28 PDT 2010
Hi,
Thanks to testing by Will and hunting down the bug in the dwarf
debuginfo from which the size argument was calculated by Deepak and
Jakub we came up with the following workaround:
Add workaround for calculating systemtap object_alloc probe size
argument.
Generating a dwarf location expression for variable * "constant"
as used in the hotspot.object_alloc probe argument triggers
unforeseen complications. See
https://bugzilla.redhat.com/show_bug.cgi?id=613824
Workaround for now by passing the size without HeapWordSize
adjustment.
2010-07-29 Mark Wielaard <mjw at redhat.com>
* patches/systemtap-alloc-size-workaround.patch: New patch.
* Makefile.am (ICEDTEA_PATCHES): Add new patch for
ENABLE_SYSTEMTAP.
* tapset/hotspot.stp.in (object_alloc): Calculate size from
$arg4 and $HeapWordSize.
Committed and pushed to icedtea6 trunks.
Cheers,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: workaround.patch
Type: text/x-patch
Size: 1897 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100729/88d80076/workaround.patch
More information about the distro-pkg-dev
mailing list