src/share/vm/runtime/synchronizer.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
hs25_8011661 Cdiff src/share/vm/runtime/synchronizer.cpp
src/share/vm/runtime/synchronizer.cpp
Print this page
*** 1016,1026 ****
// 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") ;
}
// Format the block.
// initialize the linked list, each monitor points to its next
// forming the single linked free list, the very first monitor
--- 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]), 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