harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Strigun (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-642) Performance improvement for HashMap and LinkedHashMap classes
Date Thu, 22 Jun 2006 10:15:30 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-642?page=all ]

Vladimir Strigun updated HARMONY-642:
-------------------------------------

    Attachment: Harmony-642.diffs

Patch for java/util/HashMap.java  and java/util/LinkedHashMap.java

> Performance improvement for HashMap and LinkedHashMap classes
> -------------------------------------------------------------
>
>          Key: HARMONY-642
>          URL: http://issues.apache.org/jira/browse/HARMONY-642
>      Project: Harmony
>         Type: Improvement

>   Components: Classlib
>     Reporter: Vladimir Strigun
>     Priority: Minor
>  Attachments: 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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message