mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8284903: Fix typos in hotspot
Reviewed-by: cjplummer, coleenp, kvn, lucy, stefank
This commit is contained in:
parent
13fb1eed52
commit
4594696f54
446 changed files with 1196 additions and 1197 deletions
|
@ -1,6 +1,6 @@
|
|||
|
||||
/*
|
||||
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2019, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -91,8 +91,8 @@ static size_t ceil_log2(size_t val) {
|
|||
void ThreadIdTable::lazy_initialize(const ThreadsList *threads) {
|
||||
if (!_is_initialized) {
|
||||
{
|
||||
// There is no obvious benefits in allowing the thread table
|
||||
// to be concurently populated during the initalization.
|
||||
// There is no obvious benefit in allowing the thread table
|
||||
// to be concurrently populated during initialization.
|
||||
MutexLocker ml(ThreadIdTableCreate_lock);
|
||||
if (_is_initialized) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue