United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7037276 Unnecessary double traversal of dirty card windows
JDK-7037276 : Unnecessary double traversal of dirty card windows

Details
Type:
Bug
Submit Date:
2011-04-17
Status:
Closed
Updated Date:
2013-06-22
Project Name:
JDK
Resolved Date:
2011-05-10
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
hs21
Fixed Versions:
hs21 (b11)

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

Sub Tasks

Description
non_clean_card_iterate() collects contiguous ranges of dirty cards
which are then processed by ClearNoncleanCardWrapper in a second traversal.
There is really no need for two traversals, rather non_clean_card_iterate()
need not be used and all of the work can instead accomplished in a single
traversal of the cards in the range being scanned by CleanNoncleanCardWrapper.
This might even improve performance by a bit (but more importantly it would
reduce the complexity and interdependencies within the card table hierarchy).

                                    

Comments
EVALUATION

Yes.
                                     
2011-04-17
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/c48ad6ab8bdf
                                     
2011-04-21
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/c48ad6ab8bdf
                                     
2011-05-05



Hardware and Software, Engineered to Work Together