Java – JStack

Java – JStack

When reviewing \ debugging a Java Application, one can try using “JStack”.

JStack principally displays the StackTrace for each thread in an Application.

Listed below are a few well written coverage of this important tool.

  1. Fun with JStack
    Link
  2. How to take Thread Dumps from a JVM
    Link
  3. JStack / Oracle
    Link
  4. Building a JStack Profiler
    Link
  5. What are good Java Profiling Tools
    Link

Couple of areas to keep in mind:

  1. On a Windows box running a 64-bit OS, you will not be able to “connect” to a 32-bit App running under WOW64.If you try to, you will get an error message similar to “Unable to attach to 32-bit process running under WOW64”

2 thoughts on “Java – JStack

  1. Hey i am actually trying to use the ATTACH API and am getting the error “unable to attach to 32-bit process running under wow64”. Is there a work-around for this?

    • Sorry I did not do any more research on a 64-bit.

      It is a big to do for me — But, lately more work on Linux systems.

      Thanks for posting.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s