Skip to content

Disable background preinitializer when only one processor is available #15722

@wilkinsona

Description

@wilkinsona

When a single processor is available, BackgroundPreinitializer can actually slow things down as it increases contention for the single CPU during startup. We should disable it when Runtime.availableProcessors() is 1.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions