src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hs25_8011661 Cdiff src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp

src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp

Print this page

        

*** 97,107 **** if (requested_blocks_size_in_bytes > current_blocks_size_in_bytes) { // Expand size_t expand_by = requested_blocks_size_in_bytes - current_blocks_size_in_bytes; if (!_virtual_space.expand_by(expand_by)) { ! vm_exit_out_of_memory(expand_by, "object start array expansion"); } // Clear *only* the newly allocated region memset(_blocks_region.end(), clean_block, expand_by); } --- 97,107 ---- if (requested_blocks_size_in_bytes > current_blocks_size_in_bytes) { // Expand size_t expand_by = requested_blocks_size_in_bytes - current_blocks_size_in_bytes; if (!_virtual_space.expand_by(expand_by)) { ! vm_exit_out_of_memory(expand_by, OOM_MMAP_ERROR, "object start array expansion"); } // Clear *only* the newly allocated region memset(_blocks_region.end(), clean_block, expand_by); }
src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File