码迷,mamicode.com
首页 > 其他好文 > 详细

Is there a complete List of JVM exit codes

时间:2015-03-05 12:28:46      阅读:118      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!