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] Commented: (HARMONY-5906) [classlib][pack200][performance] ClassConstantPool optimizations
Date Fri, 11 Jul 2008 17:04:31 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612930#action_12612930
] 

Aleksey Shipilev commented on HARMONY-5906:
-------------------------------------------

Gives +12% boost on unpacking scenario.

Pack200 profile on 50Mb Eclipse JDT jar (changed spots are marked):

----- Baseline: -------------------------------
Unpack: 37622 <======
 segment unpack: 37513 <======
   parse segment: 11159 
     parse header:  0
     parse ADB:     79
     parse bcbands: 5167
       parse1:      437
       parse2:      47
       select:      204
       attrlayout:  0
       methods:     3901
     parse cbands:  3178
       classattr:   705
       code:        1817
       fields:      264
       methods:     376
     parse cpbands: 2408
     parse fbands:  78
     parse icbands: 30
   write jar: 26354 <======
     build classf:  20170 <======
       sfattrs:     0
       cfattrs:     46
       fields:      235
       interfaces:  16
       methods:     218
       addNested:   7290  <======
       inner:       3079
       final:       9003 <======
     write classf:  2620 
       constpool:   1193
       interfaces:  0
       attributes:  94
       methods:     1206
       fields:      95
     write primit:  418

----- Optimized: -------------------------------
Unpack: 33467 <======
 segment unpack: 32311 <======
   parse segment: 11252
     parse header:  16
     parse ADB:     32
     parse bcbands: 5248
       parse1:      330
       parse2:      46
       select:      188
       attrlayout:  16
       methods:     4092
     parse cbands:  3331
       classattr:   718
       code:        1956
       fields:      202
       methods:     346
     parse cpbands: 2359
     parse fbands:  47
     parse icbands: 31
   write jar: 21059 <======
     build classf:  14116 <======
       sfattrs:     15
       cfattrs:     16
       fields:      311
       interfaces:  15
       methods:     267
       addNested:   6518 <======
       inner:       2643
       final:       3954  <======
     write classf:  2453
       constpool:   1192
       interfaces:  16
       attributes:  78
       methods:     1014
       fields:      78
     write primit:  420

> [classlib][pack200][performance] ClassConstantPool optimizations
> ----------------------------------------------------------------
>
>                 Key: HARMONY-5906
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5906
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Aleksey Shipilev
>         Attachments: pack200-constantpool-v2.patch
>
>
> The first-stage optimization of ClassConstantPool.

-- 
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