As noted here: http://gcc.gnu.org/ml/java/2009-07/msg00067.html The filename generation in the out of memory dumps is a bit screwed up. This patch restores it to its intended state. Bootstrapped and regression tested on x86_64-pc-linux-gnu with no regressions. OK to commit? 2009-07-28 David Daney * gnu/gcj/util/natGCInfo.cc (nomem_handler): Use oomDumpName as dump file name base.