org.jikesrvm.runtime
Interface ExitStatus

All Known Implementing Classes:
VM

public interface ExitStatus

Exit status codes for the Jikes RVM virtual machine.

These process exit status codes are used by the virtual machine whenever it must exit with some failure condition. By default, if all goes well, the virtual machine will exit with status zero.


Field Summary
static int EXIT_STATUS_BAD_WORKING_DIR
          Used in 0005fProcess.C
static int EXIT_STATUS_BOGUS_COMMAND_LINE_ARG
           
static int EXIT_STATUS_COULD_NOT_EXECUTE
           
static int EXIT_STATUS_DUMP_STACK_AND_DIE
           
static int EXIT_STATUS_DYING_WITH_UNCAUGHT_EXCEPTION
           
static int EXIT_STATUS_EXECUTABLE_NOT_FOUND
          Traditionally the shell and xargs use status 127 to mean that they were unable to find something to execute.
static int EXIT_STATUS_IMPOSSIBLE_LIBRARY_FUNCTION_ERROR
           
static int EXIT_STATUS_JNI_COMPILER_FAILED
          same as OPT compiler
static int EXIT_STATUS_JNI_TROUBLE
           
static int EXIT_STATUS_MAIN_THREAD_COULD_NOT_LAUNCH
           
static int EXIT_STATUS_MISC_TROUBLE
           
static int EXIT_STATUS_OPT_COMPILER_FAILED
           
static int EXIT_STATUS_PRINTED_HELP_MESSAGE
          What exit status should we use after we have printed out a help message?
static int EXIT_STATUS_RECURSIVELY_SHUTTING_DOWN
           
static int EXIT_STATUS_SYSCALL_TROUBLE
           
static int EXIT_STATUS_SYSFAIL
           
static int EXIT_STATUS_TIMER_TROUBLE
           
static int EXIT_STATUS_TOO_MANY_OUT_OF_MEMORY_ERRORS
           
static int EXIT_STATUS_TOO_MANY_THROWABLE_ERRORS
           
static int EXIT_STATUS_UNEXPECTED_CALL_TO_SYS
           
static int EXIT_STATUS_UNSUPPORTED_INTERNAL_OP
           
 

Field Detail

EXIT_STATUS_RECURSIVELY_SHUTTING_DOWN

static final int EXIT_STATUS_RECURSIVELY_SHUTTING_DOWN
See Also:
Constant Field Values

EXIT_STATUS_EXECUTABLE_NOT_FOUND

static final int EXIT_STATUS_EXECUTABLE_NOT_FOUND
Traditionally the shell and xargs use status 127 to mean that they were unable to find something to execute. To quote the bash manpage, "If a command is found but is not executable, the return status is 126." We shall adopt those customs here. --Steve Augart

See Also:
Constant Field Values

EXIT_STATUS_COULD_NOT_EXECUTE

static final int EXIT_STATUS_COULD_NOT_EXECUTE
See Also:
Constant Field Values

EXIT_STATUS_IMPOSSIBLE_LIBRARY_FUNCTION_ERROR

static final int EXIT_STATUS_IMPOSSIBLE_LIBRARY_FUNCTION_ERROR
See Also:
Constant Field Values

EXIT_STATUS_DUMP_STACK_AND_DIE

static final int EXIT_STATUS_DUMP_STACK_AND_DIE
See Also:
Constant Field Values

EXIT_STATUS_MAIN_THREAD_COULD_NOT_LAUNCH

static final int EXIT_STATUS_MAIN_THREAD_COULD_NOT_LAUNCH
See Also:
Constant Field Values

EXIT_STATUS_MISC_TROUBLE

static final int EXIT_STATUS_MISC_TROUBLE
See Also:
Constant Field Values

EXIT_STATUS_SYSFAIL

static final int EXIT_STATUS_SYSFAIL
See Also:
Constant Field Values

EXIT_STATUS_SYSCALL_TROUBLE

static final int EXIT_STATUS_SYSCALL_TROUBLE
See Also:
Constant Field Values

EXIT_STATUS_TIMER_TROUBLE

static final int EXIT_STATUS_TIMER_TROUBLE
See Also:
Constant Field Values

EXIT_STATUS_UNEXPECTED_CALL_TO_SYS

static final int EXIT_STATUS_UNEXPECTED_CALL_TO_SYS
See Also:
Constant Field Values

EXIT_STATUS_UNSUPPORTED_INTERNAL_OP

static final int EXIT_STATUS_UNSUPPORTED_INTERNAL_OP
See Also:
Constant Field Values

EXIT_STATUS_DYING_WITH_UNCAUGHT_EXCEPTION

static final int EXIT_STATUS_DYING_WITH_UNCAUGHT_EXCEPTION
See Also:
Constant Field Values

EXIT_STATUS_OPT_COMPILER_FAILED

static final int EXIT_STATUS_OPT_COMPILER_FAILED
See Also:
Constant Field Values

EXIT_STATUS_JNI_COMPILER_FAILED

static final int EXIT_STATUS_JNI_COMPILER_FAILED
same as OPT compiler

See Also:
Constant Field Values

EXIT_STATUS_BOGUS_COMMAND_LINE_ARG

static final int EXIT_STATUS_BOGUS_COMMAND_LINE_ARG
See Also:
Constant Field Values

EXIT_STATUS_TOO_MANY_THROWABLE_ERRORS

static final int EXIT_STATUS_TOO_MANY_THROWABLE_ERRORS
See Also:
Constant Field Values

EXIT_STATUS_TOO_MANY_OUT_OF_MEMORY_ERRORS

static final int EXIT_STATUS_TOO_MANY_OUT_OF_MEMORY_ERRORS
See Also:
Constant Field Values

EXIT_STATUS_JNI_TROUBLE

static final int EXIT_STATUS_JNI_TROUBLE
See Also:
Constant Field Values

EXIT_STATUS_BAD_WORKING_DIR

static final int EXIT_STATUS_BAD_WORKING_DIR
Used in 0005fProcess.C

See Also:
Constant Field Values

EXIT_STATUS_PRINTED_HELP_MESSAGE

static final int EXIT_STATUS_PRINTED_HELP_MESSAGE
What exit status should we use after we have printed out a help message? Some common utilities exit with 1, some with 0. Jikes RVM seems to be using 1, so let's keep doing so.

See Also:
Constant Field Values