jstack.stp should work with -XX:+UseCompressedOops

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


I tried jstack.stp ( print_jstack() ) on Fedora17 with OpenJDK7.

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,

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