📄 gctest9.java
字号:
package gctest;import util.Dbg;import com.jopdesign.sys.*;// A test of the GCStackWalker// One must insert a log statement the last line in GC.push// log("Adding to grey list", ref); // If the root scan is enableb it should not add the "ref"// If it is disables for conservative scanning it should add it itpublic class GCTest9 { public static void main(String s[]) { System.out.println("GC"); int i = 53800; // this value depends on the handle area GC.gc(); } //main}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -