mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 13:54:38 +02:00
6810672: Comment typos
I have collected some typos I have found while looking at the code. Reviewed-by: kvn, never
This commit is contained in:
parent
67a5668b16
commit
05d1de7727
120 changed files with 278 additions and 277 deletions
|
@ -156,7 +156,7 @@ symbolOop SymbolTable::basic_add(int index, u1 *name, int len,
|
|||
|
||||
symbolOop test = lookup(index, (char*)name, len, hashValue);
|
||||
if (test != NULL) {
|
||||
// A race occured and another thread introduced the symbol, this one
|
||||
// A race occurred and another thread introduced the symbol, this one
|
||||
// will be dropped and collected.
|
||||
return test;
|
||||
}
|
||||
|
@ -193,7 +193,7 @@ bool SymbolTable::basic_add(constantPoolHandle cp, int names_count,
|
|||
int index = hash_to_index(hashValues[i]);
|
||||
symbolOop test = lookup(index, names[i], lengths[i], hashValues[i]);
|
||||
if (test != NULL) {
|
||||
// A race occured and another thread introduced the symbol, this one
|
||||
// A race occurred and another thread introduced the symbol, this one
|
||||
// will be dropped and collected. Use test instead.
|
||||
cp->symbol_at_put(cp_indices[i], test);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue