« Return to Thread: [jira] Created: (RVM-791) Clean up and modularize locking

[jira] Commented: (RVM-791) Clean up and modularize locking

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread


    [ http://jira.codehaus.org/browse/RVM-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=165675#action_165675 ]

Ian Rogers commented on RVM-791:
--------------------------------

I have been working on a patch to refactor the object model. As part of this the locking code was refactored. The basic structure is:

org.jikesrvm.objectmodel

general purpose access

org.jikesrvm.objectmodel.locking

abstractions of locking models

org.jikesrvm.objectmodel.hashing

abstractions of hashing models

With this approach you can currently build with fat locks, thin locks and any combination of hashing model. The code is written in such a way that redundant status word bits will be used depending on how the object model instance is created.


> Clean up and modularize locking
> -------------------------------
>
>                 Key: RVM-791
>                 URL: http://jira.codehaus.org/browse/RVM-791
>             Project: RVM
>          Issue Type: Improvement
>          Components: Runtime: Threads and Concurrency
>            Reporter: Filip Pizlo
>            Assignee: Filip Pizlo
>
> Currently, Jikes RVM only allows for one style of locking.  We'd like to be able to support multiple styles (eventually, it would be nice to have biased locking).  As well, the locking code crosscuts more files than it needs to, largely for historical, rather than functional, reasons.

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

       

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

 « Return to Thread: [jira] Created: (RVM-791) Clean up and modularize locking