United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6631166 CMS: better heuristics when combatting fragmentation
6631166 : CMS: better heuristics when combatting fragmentation

Details
Type:
Enhancement
Submit Date:
2007-11-16
Status:
Closed
Updated Date:
2011-10-19
Project Name:
JDK
Resolved Date:
2010-07-02
Component:
hotspot
OS:
linux,generic,solaris_10,linux_redhat_5.0
Sub-Component:
gc
CPU:
x86,sparc,generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
hs10,hs14,6u14,6u16,6u17,7
Fixed Versions:
hs17

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
See comments section for pointers to logs from customer and
an email that hints at (some of) the issues involved.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/e018e6884bd8
                                     
2010-01-09
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/e018e6884bd8
                                     
2009-12-24
EVALUATION

Under testing and review.
                                     
2009-10-26
EVALUATION

In the case of this customer, one problem had been the extremely large size of
OldPLABSize chosen. Reducing it improved fragmentation behaviour. However,
their workloads are sufficiently high and sufficiently bursty that any dynamic
scheme will be unable to work well at all times within a 32-bit heap.

They have been advised to either move to 64-bit heaps and/or to run multiple
32-bit jvms to make full use of their multicore boxes.

In the meantime, our investigations have identified a number of incremental
improvements to reduce fragmentation and these are being tested. A list of
improvements made as part of this CR will be listed in the suggested fix
section when we are done.
                                     
2008-10-23
SUGGESTED FIX

http://analemma.sfbay.sun.com/net/spot/workspaces/ysr/frag
                                     
2008-10-23
EVALUATION

Some improvements have been made, and we are studying the effect of this on
performance of some applications/benchmarks.
                                     
2008-10-21
EVALUATION

We are investigating the defficiencies of the current scheme in order to
improve the frgamentation-control heuristics.
                                     
2007-11-20



Hardware and Software, Engineered to Work Together