equal
deleted
inserted
replaced
759 oop s = val->peek(); |
759 oop s = val->peek(); |
760 if (s == NULL) { |
760 if (s == NULL) { |
761 return true; |
761 return true; |
762 } |
762 } |
763 unsigned int hash = java_lang_String::hash_code(s); |
763 unsigned int hash = java_lang_String::hash_code(s); |
764 if (hash == 0) { |
|
765 // We do not archive Strings with a 0 hashcode because ...... |
|
766 return true; |
|
767 } |
|
768 |
764 |
769 java_lang_String::set_hash(s, hash); |
765 java_lang_String::set_hash(s, hash); |
770 oop new_s = StringTable::create_archived_string(s, Thread::current()); |
766 oop new_s = StringTable::create_archived_string(s, Thread::current()); |
771 if (new_s == NULL) { |
767 if (new_s == NULL) { |
772 return true; |
768 return true; |