1.1 --- a/src/share/vm/runtime/synchronizer.cpp Tue Apr 30 09:17:06 2013 -0400 1.2 +++ b/src/share/vm/runtime/synchronizer.cpp Tue Apr 30 11:56:52 2013 -0700 1.3 @@ -1018,7 +1018,8 @@ 1.4 // We might be able to induce a STW safepoint and scavenge enough 1.5 // objectMonitors to permit progress. 1.6 if (temp == NULL) { 1.7 - vm_exit_out_of_memory (sizeof (ObjectMonitor[_BLOCKSIZE]), "Allocate ObjectMonitors") ; 1.8 + vm_exit_out_of_memory (sizeof (ObjectMonitor[_BLOCKSIZE]), OOM_MALLOC_ERROR, 1.9 + "Allocate ObjectMonitors"); 1.10 } 1.11 1.12 // Format the block.