harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Shipilev (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6056) [classlib][jit][opt][performance] Optimize heap allocations in String(String, int) constructor for JIT
Date Wed, 07 Jan 2009 22:44:44 GMT

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

Aleksey Shipilev updated HARMONY-6056:
--------------------------------------

    Attachment: StringBench.jar

StringBench.jar

Simple benchmark to evaluate "(String)base + (int)add" operation performance. I presume that
the attached patch should increase the score on this benchmark.

On Harmony-M7 at P-D 2.8 Ghz / PC2-5300 / Gentoo Linux x86:

$ harmony-M7/bin/ava -Xms1024M -Xmx1024M -server -jar StringBench.jar
(String)base + (int)add:
-------------------------------------------
 base length (vars with rows): 0..2..10
  add length (vars with cols): 0..2..10

 loop duration = 100 msecs
 target variance = 0.05

ops/msec, the more the better:
4369, 2842, 1976, 1563, 1226,
4462, 2829, 1966, 1555, 1225,
4430, 2836, 1956, 1563, 1223,
4394, 2831, 1956, 1558, 1217,
4357, 2821, 1954, 1551, 1217,


> [classlib][jit][opt][performance] Optimize heap allocations in String(String, int) constructor
for JIT
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6056
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6056
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>    Affects Versions: 5.0M8
>            Reporter: Kevin Zhou
>            Assignee: Tim Ellison
>             Fix For: 5.0M9
>
>         Attachments: HARMONY-6056.diff, StringBench.jar
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This patch optimizes heap allocations in String(String, int) constructor for JIT performance
improvement.

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


Mime
View raw message