src/share/vm/classfile/symbolTable.cpp

changeset 1040
98cb887364d3
parent 435
a61af66fc99e
child 1100
c89f86385056
     1.1 --- a/src/share/vm/classfile/symbolTable.cpp	Fri Feb 27 08:34:19 2009 -0800
     1.2 +++ b/src/share/vm/classfile/symbolTable.cpp	Fri Feb 27 13:27:09 2009 -0800
     1.3 @@ -156,7 +156,7 @@
     1.4  
     1.5    symbolOop test = lookup(index, (char*)name, len, hashValue);
     1.6    if (test != NULL) {
     1.7 -    // A race occured and another thread introduced the symbol, this one
     1.8 +    // A race occurred and another thread introduced the symbol, this one
     1.9      // will be dropped and collected.
    1.10      return test;
    1.11    }
    1.12 @@ -193,7 +193,7 @@
    1.13      int index = hash_to_index(hashValues[i]);
    1.14      symbolOop test = lookup(index, names[i], lengths[i], hashValues[i]);
    1.15      if (test != NULL) {
    1.16 -      // A race occured and another thread introduced the symbol, this one
    1.17 +      // A race occurred and another thread introduced the symbol, this one
    1.18        // will be dropped and collected. Use test instead.
    1.19        cp->symbol_at_put(cp_indices[i], test);
    1.20      } else {

mercurial