diff src/share/vm/oops/oop.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 f258c5828eb8
children cd6b3f1a94ff
line wrap: on
line diff
--- a/src/share/vm/oops/oop.cpp	Tue Apr 30 09:17:06 2013 -0400
+++ b/src/share/vm/oops/oop.cpp	Tue Apr 30 11:56:52 2013 -0700
@@ -111,7 +111,7 @@
     // Use alternate hashing algorithm on the string
     return AltHashing::murmur3_32(seed, chars, length);
   } else {
-    vm_exit_out_of_memory(length, "unable to create Unicode strings for String table rehash");
+    vm_exit_out_of_memory(length, OOM_MALLOC_ERROR, "unable to create Unicode strings for String table rehash");
     return 0;
   }
 }