1.1 --- a/src/share/vm/runtime/synchronizer.cpp Fri Apr 19 11:08:52 2013 -0700 1.2 +++ b/src/share/vm/runtime/synchronizer.cpp Sun Apr 21 20:41:04 2013 -0700 1.3 @@ -1012,8 +1012,7 @@ 1.4 // Both the local and global free lists are empty -- resort to malloc(). 1.5 // In the current implementation objectMonitors are TSM - immortal. 1.6 assert (_BLOCKSIZE > 1, "invariant") ; 1.7 - ObjectMonitor * temp; 1.8 - NEW_C_HEAP_OBJECT_ARRAY(temp, ObjectMonitor, _BLOCKSIZE, mtInternal, 0, AllocFailStrategy::RETURN_NULL); 1.9 + ObjectMonitor * temp = new ObjectMonitor[_BLOCKSIZE]; 1.10 1.11 // NOTE: (almost) no way to recover if allocation failed. 1.12 // We might be able to induce a STW safepoint and scavenge enough