jstack.stp should work with -XX:+UseCompressedOops

Yasumasa Suenaga suenaga.yasumasa at lab.ntt.co.jp
Thu Aug 2 01:30:11 PDT 2012


Hi,

I tried jstack.stp ( print_jstack() ) on Fedora17 with OpenJDK7.
(java-1.7.0-openjdk-1.7.0.5-2.2.1.fc17.9.x86_64)

However, I couldn't get thread stack trace.

Modern JDK, -XX:UseCompressedOops is enabled by default. However,
jstack.stp only works with -XX:-UseCompressedOops.

I've made a patch for Icedtea7 which is attached this email, and
it works fine on my environment on above.


I want to use OpenJDK with systemtap in various situations.
So, I would like you to merge this patch.


Best regards,

Yasumasa
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jstack.patch
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120802/9be26571/jstack.patch 


More information about the distro-pkg-dev mailing list