首页 > 其他 > 详细

Is there a complete List of JVM exit codes

时间:2015-03-05 12:25:56      阅读:351      评论:0      收藏:0      [点我收藏+]

Argument passed to System.exit(x) -> becomes the JVM exit code.

Exit code 0 is used to indicate normal exit. Unique positive exit code to indicate specific problem.

 

No. If all non-daemon threads exit normally(presence/absence of exception does not matter), JVM terminates with 0.

Exit code between 1 and 127 are specific codes used to indicate error in JVM. e.g. mismatched jdk/jre versions, incorrect memory configuration/command-line options, etc.

 

JVM exit due to specific signal would be

128+signal-id

List of signal-id can be found using kill -l

Is there a complete List of JVM exit codes

原文:http://www.cnblogs.com/diyunpeng/p/4315132.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!