United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6593758 RFE: Enhance GC ergonomics to dynamically choose ParallelGCThreads
JDK-6593758 : RFE: Enhance GC ergonomics to dynamically choose ParallelGCThreads

Details
Type:
Enhancement
Submit Date:
2007-08-16
Status:
Closed
Updated Date:
2012-03-22
Project Name:
JDK
Resolved Date:
2012-01-20
Component:
hotspot
OS:
generic,solaris_nevada
Sub-Component:
gc
CPU:
sparc,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0u6,7
Fixed Versions:
hs23 (b07)

Related Reports
Backport:
Backport:
Duplicate:
Relates:

Sub Tasks

Description
Currently the value of ParallelGCThreads is chosen at initialization
based on the number of processors on the platform.  This value can be
very wrong and for good performance may need to change dynamically.

                                    

Comments
EVALUATION

Dynamically calculate the number of GC worker threads to be used for the next collection.  Calculate that number based on the current maximum size of the heap and/or the number of application threads running.
                                     
2009-07-10
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/bca17e38de00
                                     
2011-11-23
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-emb/hotspot/rev/bca17e38de00
                                     
2011-12-15
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/bca17e38de00
                                     
2012-03-22



Hardware and Software, Engineered to Work Together