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-2907) [drlvm][gc] re-enabling of pinning in gcv4.1
Date Wed, 27 Dec 2006 19:42:23 GMT
[drlvm][gc] re-enabling of pinning in gcv4.1
--------------------------------------------

                 Key: HARMONY-2907
                 URL: http://issues.apache.org/jira/browse/HARMONY-2907
             Project: Harmony
          Issue Type: Improvement
          Components: DRLVM
         Environment: All
            Reporter: Ivan Volosyuk
            Priority: Minor


Disabling of pinning of heap objects had negative performance impact for some work loads,
like xml processing.
Here is a patch to enable pinning again.

Pinning support improved:
 * added handling for pin counter overflow.
 * hashcode status bits and pin counter has placed in different bytes of object status word
to prevent any possibility of conflict
 * pin counter updates are atomic while hashcode status updates are not.

I have tested the code on following scenarios:
   Live object is pinned in different threads and overflow pin counter
   Objects are created and pinned in endless loop
   Smoke tests
   EM64T

-- 
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