GCタイミング クラスがアンロードされるまで存在 オブジェクトがGCされるタイミング同時に回 収 格納先 ヒープメモリ? ヒープメモリ Public class TestClass{ public static int staticCounter = 0;//static変数 public int instanceCounter = 0;//インスタンス変数 } Jconsoleを使ってメモリ領域を覗いてみた。障害対応で 学んだTips集 #2023.11.11/JJUG 7
インスタンス間で共有できない GCタイミング クラスがアンロードされるまで存在 オブジェクトがGCされるタイミング同時に回収 格納先 ヒープメモリ? ヒープメモリ Public class TestClass{ public static int staticCounter = 0;//static変数 public int instanceCounter = 0;//インスタンス変数 } Jconsoleを使ってメモリ領域を覗いてみた。障害対応で 学んだTips集 #2023.11.11/JJUG 56