hotspot/src/share/vm/classfile/stringTable.cpp
changeset 35499 b79827ea1b9f
parent 35498 392b50de06c6
parent 35492 c8c0273e6b91
child 35898 ddc274f0052f
equal deleted inserted replaced
35498:392b50de06c6 35499:b79827ea1b9f
   134                            int len, unsigned int hashValue_arg, TRAPS) {
   134                            int len, unsigned int hashValue_arg, TRAPS) {
   135 
   135 
   136   assert(java_lang_String::equals(string(), name, len),
   136   assert(java_lang_String::equals(string(), name, len),
   137          "string must be properly initialized");
   137          "string must be properly initialized");
   138   // Cannot hit a safepoint in this function because the "this" pointer can move.
   138   // Cannot hit a safepoint in this function because the "this" pointer can move.
   139   No_Safepoint_Verifier nsv;
   139   NoSafepointVerifier nsv;
   140 
   140 
   141   // Check if the symbol table has been rehashed, if so, need to recalculate
   141   // Check if the symbol table has been rehashed, if so, need to recalculate
   142   // the hash value and index before second lookup.
   142   // the hash value and index before second lookup.
   143   unsigned int hashValue;
   143   unsigned int hashValue;
   144   int index;
   144   int index;