VM death due to OutOfMemoryError does not always return non-zero exit status

Description

There are situations in which Jikes RVM returns a zero exit status despite the fact that a OutOfMemoryError just caused the VM to die. Outputs in these situations are either

Exception in thread "MainThread" java.lang.OutOfMemoryError
<<No stacktrace available>>

or

GCWarning: Live ratio greater than 1: 1.01
GCWarning: Live ratio greater than 1: 1.02
GCWarning: Live ratio greater than 1: 1.02
GCWarning: Live ratio greater than 1: 1.01
java.lang.OutOfMemoryError

  •  

    •  

      • Got java.lang.OutOfMemoryError while trying to print stack trace.

Environment

config.name=production
host.name=x86_64-linux
classlib.provider=GNU Classpath

Assignee

Erik Brangs

Reporter

Andreas Sewe

Labels

None

Fix versions

Affects versions

Priority

Low
Configure