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] Created: (HARMONY-5920) [classlib][pack200][performance] ArrayList usage optimization
Date Sat, 19 Jul 2008 08:58:31 GMT
[classlib][pack200][performance] ArrayList usage optimization

                 Key: HARMONY-5920
                 URL: https://issues.apache.org/jira/browse/HARMONY-5920
             Project: Harmony
          Issue Type: Improvement
         Environment: Latest pack200
            Reporter: Aleksey Shipilev

1. Microbenchmark on Sun 1.6.0_05 shows that iterating ArrayList via iterators is 3x slower
than iterating via get(). This issue eliminates iterator() in favor of get().
2. ArrayList-s are frequently instantiated with default capacity, even when the storage size
is known. This issue sets the default capacities where applicable.

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

View raw message