当前在线人数15100
首页 - 博客首页 - let comch pute be aos me you - 文章阅读 [博客首页] [首页]
Report a bug not sure Kernel or JVM
作者:heteroclinic
发表时间:2012-09-28
更新时间:2012-09-28
浏览:320次
评论:0篇
地址:174.
::: 栏目 :::

Centos distro,
Compile the following Java program, the program freezes before "slept".
"top" shows very high CPU utilization.
Ctrl-C not work. kill -9 pid in another console.

Not sure JVM problem or kernel program, both Java 6 and 7 have this problem. Ask for blind sweep.

Other servers have similar problem. Reboot server, the problem gone.

Suspect it is because of leap second. Run "top", check your servers!


public static void main (String [] args) {
System.out.println("before sleep");
try {
//TimeUnit.MILLISECONDS.sleep(1000);
Thread.sleep(1000);
System.out.println("slept");

} catch (InterruptedException e) {
}

System.out.println("quiting");



}


提示: 本博文来自于 Linux 版

[上一篇] [下一篇] [发表评论] [写信问候] [收藏] [举报] 
 
暂无评论
 
用户名: 密码:
发表评论
评论:
[返回顶部] [刷新]  [给heteroclinic写信]  [let comch pute be aos me you首页] [博客首页] [BBS 未名空间站]
 
Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有BBS 未名空间站(mitbbs.com) since 1996