src/share/vm/runtime/synchronizer.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/runtime/synchronizer.cpp Mon Apr 29 18:22:34 2013
--- new/src/share/vm/runtime/synchronizer.cpp Mon Apr 29 18:22:32 2013
*** 1016,1026 ****
--- 1016,1027 ----
// NOTE: (almost) no way to recover if allocation failed.
// 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.
// initialize the linked list, each monitor points to its next
// forming the single linked free list, the very first monitor
src/share/vm/runtime/synchronizer.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File