jstack ã¨ãããã¼ã«ãããããã®ãã¼ã«ã¯ãç¾å¨å®è¡ä¸ã® Java ããã»ã¹ã®ã¹ã¬ããã®ç¶æ ãåå¾åºæ¥ããã¼ã«ã ã æã£ãããã«æ§è½ãåºãªãæããããããã¯ã£ã½ãç¾è±¡ãçºçããéã¯ãã®ãã¼ã«ã使ã£ã¦ã¹ã¬ããã®ç¶æ ãåå¾ãã¤ã¾ãã¹ã¬ãããã³ããå¾ã¦ããããã解決ã®ç³¸å£ãæ¢ãã ä»åã®ãµã³ãã«ã³ã¼ãã¯ä¸è¨ã³ã¼ãã å°ãé·ãããThread1 㨠Thread2 ã¯ã©ã¹ã¯ã»ã¼åä¸ã ãéãã®ã¯ããªã½ã¼ã¹ãããã¯ããé åºãThread1 ã¯ã©ã¹ã¯ resource1, resource2 ã®é ã«ããã¯ããããThread2 ã¯ã©ã¹ã¯ resource2, resource1 ã®é ã«ããã¯ãããã¤ã¾ãããããï¼ã¤ã®ã¯ã©ã¹ãåæã«å®è¡ããã¨ãããããã¯ãèµ·ããã public class DeadLockTest { public static Object resource1 = new Obje
{{#tags}}- {{label}}
{{/tags}}