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] Created: (HARMONY-1634) [classlib][native] unbalanced GetPrimitiveArrayCritical in classlib native code
Date Thu, 28 Sep 2006 14:46:50 GMT
[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


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

        

Mime
View raw message