Skip to content

Commit 7462a6b

Browse files
author
zhourenjian
committed
1. Wait 10s before Hotspot monitor is enabled
2. Fixed bug that SWT.TOOL Shell is not correctly layout
1 parent 17aab3c commit 7462a6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/net.sf.j2s.java.core/src/java/lang/ClassLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2681,7 +2681,7 @@ window.setTimeout (function () {
26812681
}
26822682
/* start ClazzLoader hotspot monitoring after 1 second */
26832683
if (window["j2s.script.debugging"] == true && window["j2s.disable.hotspot"] != true) {
2684-
window.setTimeout (ClazzLoader.hotspotMonitoring, 1000);
2684+
window.setTimeout (ClazzLoader.hotspotMonitoring, 10000); // 10s, initializing
26852685
}
26862686
}, 324); // 0.324 seconds is considered as enough before refresh action
26872687

0 commit comments

Comments
 (0)