src/share/vm/oops/oop.cpp

changeset 4993
746b070f5022
parent 4987
f258c5828eb8
child 6351
f9e35a9dc8c7
equal deleted inserted replaced
4992:ed5a590835a4 4993:746b070f5022
109 jchar* chars = java_lang_String::as_unicode_string(this, length, THREAD); 109 jchar* chars = java_lang_String::as_unicode_string(this, length, THREAD);
110 if (chars != NULL) { 110 if (chars != NULL) {
111 // Use alternate hashing algorithm on the string 111 // Use alternate hashing algorithm on the string
112 return AltHashing::murmur3_32(seed, chars, length); 112 return AltHashing::murmur3_32(seed, chars, length);
113 } else { 113 } else {
114 vm_exit_out_of_memory(length, "unable to create Unicode strings for String table rehash"); 114 vm_exit_out_of_memory(length, OOM_MALLOC_ERROR, "unable to create Unicode strings for String table rehash");
115 return 0; 115 return 0;
116 } 116 }
117 } 117 }
118 118
119 VerifyOopClosure VerifyOopClosure::verify_oop; 119 VerifyOopClosure VerifyOopClosure::verify_oop;

mercurial