Mercurial > hg > graal-compiler
diff src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp @ 10161:746b070f5022
8011661: Insufficient memory message says "malloc" when sometimes it should say "mmap"
Reviewed-by: coleenp, zgu, hseigel
author | ccheung |
---|---|
date | Tue, 30 Apr 2013 11:56:52 -0700 |
parents | f81a7c0c618d |
children | a837fa3d3f86 |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp Tue Apr 30 09:17:06 2013 -0400 +++ b/src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp Tue Apr 30 11:56:52 2013 -0700 @@ -567,7 +567,7 @@ 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(), + vm_exit_out_of_memory(new_committed.byte_size(), OOM_MMAP_ERROR, "card table expansion"); } }