1.1 --- a/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.cpp Tue Apr 30 09:17:06 2013 -0400 1.2 +++ b/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.cpp Tue Apr 30 11:56:52 2013 -0700 1.3 @@ -43,7 +43,7 @@ 1.4 _time_stamp_index(0) 1.5 { 1.6 if (!os::create_thread(this, os::pgc_thread)) 1.7 - vm_exit_out_of_memory(0, "Cannot create GC thread. Out of system resources."); 1.8 + vm_exit_out_of_memory(0, OOM_MALLOC_ERROR, "Cannot create GC thread. Out of system resources."); 1.9 1.10 if (PrintGCTaskTimeStamps) { 1.11 _time_stamps = NEW_C_HEAP_ARRAY(GCTaskTimeStamp, GCTaskTimeStampEntries, mtGC);