hotspot/src/share/vm/runtime/synchronizer.cpp
changeset 17087 f0b76c4c93a0
parent 17031 9a576749065b
child 18025 b7bcf7497f93
--- a/hotspot/src/share/vm/runtime/synchronizer.cpp	Tue Apr 30 09:17:06 2013 -0400
+++ b/hotspot/src/share/vm/runtime/synchronizer.cpp	Tue Apr 30 11:56:52 2013 -0700
@@ -1018,7 +1018,8 @@
         // We might be able to induce a STW safepoint and scavenge enough
         // objectMonitors to permit progress.
         if (temp == NULL) {
-            vm_exit_out_of_memory (sizeof (ObjectMonitor[_BLOCKSIZE]), "Allocate ObjectMonitors") ;
+            vm_exit_out_of_memory (sizeof (ObjectMonitor[_BLOCKSIZE]), OOM_MALLOC_ERROR,
+                                   "Allocate ObjectMonitors");
         }
 
         // Format the block.