You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2007/02/19 17:45:05 UTC

[jira] Resolved: (HARMONY-642) Performance improvement for HashMap and LinkedHashMap classes

     [ https://issues.apache.org/jira/browse/HARMONY-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison resolved HARMONY-642.
---------------------------------

    Resolution: Fixed

Thanks Vladimir.

Thanks for you patience.  Patch applied at to LUNI repository at repo revision r509249.

Please check it was applied as you expected.


> Performance improvement for HashMap and LinkedHashMap classes
> -------------------------------------------------------------
>
>                 Key: HARMONY-642
>                 URL: https://issues.apache.org/jira/browse/HARMONY-642
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Vladimir Strigun
>         Assigned To: Tim Ellison
>            Priority: Minor
>         Attachments: H-642_r507871.diff, Harmony-642.diffs
>
>
> I'd like to suggest performance improvement for HashMap and LinkedHashMap classes. The patch gives about 6% for DaCapo:fop benchmark and do not degraded on other benchmarks. This patch covers the following issues:
> -	removed duplicate call of hashCode() method 
> -	method findEntry was divided to findNullKeyEntry() and findNotNullKeyEntry() 
> -	method getModuloHash() was inlined.
> Also, I'd like to share with you results of DaCapo execution on J9+classlib (values are in milliseconds):
> Build		Dacapo: fop	Dacapo: hsqldb	Dacapo: xalan	Dacapo: chart	
> jdk		774.567		29332.039	                     4437.278	31260.598	
> jdk-UtilFix	                     723.518		28518.381	                     4369.438	31690.724	

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.