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-5916) [classlib][pack200] Isolating I/O and processing stages
Date Thu, 17 Jul 2008 16:23:31 GMT

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

Aleksey Shipilev updated HARMONY-5916:

    Attachment: pack200-isolate-v2.patch

Proposed patch:
 - breaks up unpack into unpackRead, unpackProcess, unpackWrite
 - concentrates as much as possible non-I/O-work in unpackProcess

This patch passes JUnit tests for pack200.

Stage measurements (msecs):
read=6737 parse=26724 write=2537

> [classlib][pack200] Isolating I/O and processing stages 
> --------------------------------------------------------
>                 Key: HARMONY-5916
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5916
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>         Environment: Latest pack200
>            Reporter: Aleksey Shipilev
>         Attachments: pack200-isolate-v2.patch
> So far the unpacking in pack200 implementation is strongly coupled with I/O. Because
I/O is essentially serial, there's no opportunity for paralleling the unpacking. This issue
breaks the unpacking into three parts: reading, processing and writing. The target is to concentrate
as much as possible work into the processing stage, decoupling it from I/O. Then the processing
stage could be done concurrently on multiple Segments.

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

View raw message