From: Filip P. (JIRA) <ji...@co...> - 2009-02-03 03:32:26
|
[ http://jira.codehaus.org/browse/RVM-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163631#action_163631 ] Filip Pizlo commented on RVM-749: --------------------------------- What is the point of this? Do you want execStatus to be private? > Only allow clean/expected transitions in thread execStatus > ---------------------------------------------------------- > > Key: RVM-749 > URL: http://jira.codehaus.org/browse/RVM-749 > Project: RVM > Issue Type: Sub-task > Components: Runtime: Threads and Concurrency > Reporter: Ian Rogers > > The changes to RVMThread allow any method to update the execStatus, this change is a regression from the previous behaviour where only a single routine would transition the thread's status. The previous transition routine was forced to state what status it was expecting the thread to have. Without always having this expectation encoded, bugs can creep in. Indeed this is how the JSR-166 support was brought to the green thread model in a sane way. A recent bug highlighted the need for clean transition code. -- 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 |