--- old/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.cpp Mon Apr 29 18:21:38 2013 +++ new/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.cpp Mon Apr 29 18:21:37 2013 @@ -43,7 +43,7 @@ _time_stamp_index(0) { if (!os::create_thread(this, os::pgc_thread)) - vm_exit_out_of_memory(0, "Cannot create GC thread. Out of system resources."); + vm_exit_out_of_memory(0, OOM_MALLOC_ERROR, "Cannot create GC thread. Out of system resources."); if (PrintGCTaskTimeStamps) { _time_stamps = NEW_C_HEAP_ARRAY(GCTaskTimeStamp, GCTaskTimeStampEntries, mtGC);