harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-1634) [classlib][native] unbalanced GetPrimitiveArrayCritical in classlib native code
Date Mon, 09 Oct 2006 22:17:20 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1634?page=all ]

Tim Ellison resolved HARMONY-1634.

    Resolution: Fixed

Thanks Ivan,

Patch applied to LUNI and PREFS modules at repo revision r454533.

Please check that the patch was applied as you expected.

> [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
>         Assigned To: Tim Ellison
>            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