harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-3563) modify VMI to hide internal VM data structures exposed by getZipCachePool() VMI function
Date Sun, 20 May 2007 06:20:17 GMT

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

Mark Hindess resolved HARMONY-3563.

    Resolution: Fixed

Applied patch in r539793.  Ron, please confirm it has been applied as expected.

> modify VMI to hide internal VM data structures exposed by getZipCachePool() VMI function
> ----------------------------------------------------------------------------------------
>                 Key: HARMONY-3563
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3563
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Ronald Servant
>         Assigned To: Mark Hindess
>         Attachments: harmony_zip_api_may152007_a.minor.fix.txt, harmony_zip_api_may152007_a.txt,
> When the VMI was orginially created the function getZipCachePool() was added.
> This function allows the classlib and the VM to share the same cache of open zip files.
Providing a performance improvement when handling zip files.
> This function, getZipCachePool(), returns a pointer to a HyZipCachePool.   This structure
is not an opaque structure, it is fully defined and visible.  
> struct HyZipCachePool
> {
>   HyPool *pool;
>   HyZipCache *desiredCache;
>   I_64 zipTimeStamp;
>   char const *zipFileName;
>   IDATA zipFileNameLength;
>   IDATA zipFileSize;
>   MUTEX mutex;
> };
> If a VM uses any of these structures internally for anything other than the HyZipCachePool
implementation, then the VM can never change the shape of those structures.  If it does, it
will result in a runtime crash or compile time error, depending on how the VM is built and
> Two prime examples of structures that may be changed by the internal implementation of
the VM are HyPool and MUTEX.

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

View raw message