mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8000311: G1: ParallelGCThreads==0 broken
Divide by zero error, if ParallelGCThreads is 0, when adjusting the PLAB size. Reviewed-by: jmasa, jcoomes
This commit is contained in:
parent
3506d44c57
commit
ed98ea0a88
5 changed files with 30 additions and 31 deletions
|
@ -204,7 +204,8 @@ class PLABStats VALUE_OBJ_CLASS_SPEC {
|
|||
return _desired_plab_sz;
|
||||
}
|
||||
|
||||
void adjust_desired_plab_sz(); // filter computation, latches output to
|
||||
void adjust_desired_plab_sz(uint no_of_gc_workers);
|
||||
// filter computation, latches output to
|
||||
// _desired_plab_sz, clears sensor accumulators
|
||||
|
||||
void add_allocated(size_t v) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue