Details
-
Bug
-
Status: Resolved
-
P3
-
Resolution: Fixed
-
16
-
b32
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8259748 | 17 | Kim Barrett | P3 | Resolved | Fixed | b06 |
JDK-8260136 | 16.0.1 | Kim Barrett | P3 | Resolved | Fixed | b03 |
Description
WeakProcessor::ergo_workers is used to determine the number of threads to use for parallel weak processing. It should be called with the maximum number of threads to use, and may scale that down based on the number of weak references and ReferencesPerThread.
However, the value it is being called with is the active_workers() value of the work gang, rather than the total_workers(). Because of this, the result may be more limited than intended, leading to longer processing times.
However, the value it is being called with is the active_workers() value of the work gang, rather than the total_workers(). Because of this, the result may be more limited than intended, leading to longer processing times.
Attachments
Issue Links
- backported by
-
JDK-8259748 Parallel WeakProcessor may use too few threads
-
- Resolved
-
-
JDK-8260136 Parallel WeakProcessor may use too few threads
-
- Resolved
-