mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
rename of method
This commit is contained in:
parent
5703deb18b
commit
7aa1f7e8df
@ -93,7 +93,7 @@ void WorkerThreads::initialize_workers() {
|
||||
}
|
||||
}
|
||||
|
||||
bool WorkerThreads::allow_creation_failure() const {
|
||||
bool WorkerThreads::allow_inject_creation_failure() const {
|
||||
if (!is_init_completed()) {
|
||||
// Never allow creation failures during VM init
|
||||
return false;
|
||||
@ -108,7 +108,7 @@ bool WorkerThreads::allow_creation_failure() const {
|
||||
}
|
||||
|
||||
WorkerThread* WorkerThreads::create_worker(uint name_suffix) {
|
||||
if (InjectGCWorkerCreationFailure && allow_creation_failure()) {
|
||||
if (InjectGCWorkerCreationFailure && allow_inject_creation_failure()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
@ -103,7 +103,7 @@ public:
|
||||
WorkerThreads(const char* name, uint max_workers);
|
||||
|
||||
void initialize_workers();
|
||||
bool allow_creation_failure() const;
|
||||
bool allow_inject_creation_failure() const;
|
||||
|
||||
uint max_workers() const { return _max_workers; }
|
||||
uint created_workers() const { return _created_workers; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user