harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Volosyuk (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1634) [classlib][native] unbalanced GetPrimitiveArrayCritical in classlib native code
Date Thu, 28 Sep 2006 14:48:52 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1634?page=all ]

Ivan Volosyuk updated HARMONY-1634:

    Attachment: unbalanced_primitive_arrays_fix.diff

Fix for the problem is attached.

> [classlib][native] unbalanced GetPrimitiveArrayCritical in classlib native code
> -------------------------------------------------------------------------------
>                 Key: HARMONY-1634
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1634
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All
>            Reporter: Ivan Volosyuk
>            Priority: Minor
>         Attachments: unbalanced_primitive_arrays_fix.diff
> GetPrimitiveArrayCritical should be followed by ReleasePrimitiveArrayCritical. This is
done in classlib code, but the release is only done when a copying was made. This is incorrect.
The objects can be pinned in java heap and can stay pinned indefinetly. The Get.. Release
pair can be used to prevent GC during the operation which will also cause problems with current
classlib implementation.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message