src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
hs25_8011661 Cdiff src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp
src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp
Print this page
*** 565,575 ****
if(new_start_aligned < new_end_for_commit) {
MemRegion new_committed =
MemRegion(new_start_aligned, new_end_for_commit);
if (!os::commit_memory((char*)new_committed.start(),
new_committed.byte_size())) {
! vm_exit_out_of_memory(new_committed.byte_size(),
"card table expansion");
}
}
result = true;
} else if (new_start_aligned > cur_committed.start()) {
--- 565,575 ----
if(new_start_aligned < new_end_for_commit) {
MemRegion new_committed =
MemRegion(new_start_aligned, new_end_for_commit);
if (!os::commit_memory((char*)new_committed.start(),
new_committed.byte_size())) {
! vm_exit_out_of_memory(new_committed.byte_size(), OOM_MMAP_ERROR,
"card table expansion");
}
}
result = true;
} else if (new_start_aligned > cur_committed.start()) {
src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File