[PATCH 0 of 2] Add CompressedOops support to jstack.stp and tests

Mark Wielaard mjw at redhat.com
Mon Aug 6 07:30:50 PDT 2012


Yasumasa Suenaga wrote a patch to jstack.stp to add support for
CompressedOops when hotspot uses it (which is using less than 64-bits
for object references when the heap is small enough, so needs some
decoding support in jstack.stp). I only tweaked some indenting of the
original patch.

The second patch adds some tests to the jstaptest.pl to tests everything.
Some of the new tests fail before the jstack.stp patch and succeed after.

Jon, could you take a look at this patch? It does a bit more than just
adding support to test_jstack() to take an argument to pass to the java
process. It also makes it a little easier to only run either only the
check-tapset-jstack or only the check-tapset-probes target. Since the
tapset-probes test take so long, that is really convenient when you
are testing jstack.stp changes/tests.



 ChangeLog                |   7 +++++
 tapset/jstack.stp.in     |  34 ++++++++++++++++++++++++----
 ChangeLog                |  10 ++++++++
 Makefile.am              |  12 ++++++++-
 test/tapset/jstaptest.pl |  58 ++++++++++++++++++++++++++++++++++++++---------
 5 files changed, 103 insertions(+), 18 deletions(-)

More information about the distro-pkg-dev mailing list