Feel free to add your own.
0- Unrealted warmup question:
Will the folowing code compile?
import java.util.ArrayList;
/**
* Created by IntelliJ IDEA.
* User: sk
* Date: 7/20/11
* To change this template use File | Settings | File Templates.
*/
public class Test {
public <ArrayList> ArrayList strangeMethod(){
return null;
}
1-How does one generate a Thread dump?
2-What is the default (stack) memory allocated for each thread on a JVM on a 64 bit Windows operation system?
3-What is the most probable runtime error when running a JVM with 500 threads and setting JAVA_OPTIONS ="-Xss10m" ?
(same as 3 only with "-Xss64k")
4-Given a thread dump how does one detect a deadlock?
5- What does the following command do: