harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Rebriy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4626) [drlvm][thread] The creation and killing processes of threads are not atomic with respect to each other
Date Mon, 08 Oct 2007 11:16:50 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-4626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533097
] 

Pavel Rebriy commented on HARMONY-4626:
---------------------------------------

As to my point of view the issue could be closed.

> [drlvm][thread] The creation and killing processes of threads are not atomic with respect
to each other
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4626
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4626
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Win/Linux
>            Reporter: Li-Gang Wang
>
> The creation and killing of threads are supposed to be serialized. But we observed opposite
behaviors in GC. In GCv5, a lock is maintained to protect the mutator list which incorporates
all mutators in VM. In fact, if the creation and killing of threads are serialized, this lock
is unnecessary. We tried this by commenting out the lock and unlock operations in functions
mutator_initialize() and mutator_destruct() and ran thread.SmallStackThreadTest in smoke test.
There are intermittent failures showing that when a mutator is trying to destruct itself it
can not find itself in the mutator list.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message