Notes on Reference Citations - Version 2.71, by Dr. Herong Yang
Quickly view the threads of your blocked Ruby application with JStack
'jstack - Stack Tracer of JVM Threads' tutorial was cited in a software company blog in 2012.
The 'jstack' - Stack Tracer of JVM Threads tutorial was cited in a software company blog in 2012.
Subject: Quickly view the threads of your blocked Ruby application with JStack Date: November 9, 2012 Author: Nic Williams Source: https://blog.engineyard.com/2012/thread-viewing-jstack/ When something is amiss with a production application, it can be very productive to quickly look at the list of threads in an application and what state they are in. For your Ruby application running on JRuby, we can use JStack. This article shows a quick example of a stuck Ruby application running on JRuby and how to find out what is stuck and how to look at the elongated (read: ugly) stack trace and figure out how it maps to our Ruby source code. Java and JStack First lets look at using JStack for a basic Java app, then look at the same app written in Ruby and running on JRuby. Example taken from http://www.herongyang.com/Java-Tools /jstack-JVM-Thread-Dump-Stack-Strace.html. Source available at https://github.com/drnic/long_sleep_demo/blob /master/LongSleep.java ...
Table of Contents