harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Leviev (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-3425) [drlvm][thread][tc] Race condition while alive_thread_count changing
Date Thu, 10 Jan 2008 13:23:35 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ilya Leviev closed HARMONY-3425.
--------------------------------


> [drlvm][thread][tc] Race condition while alive_thread_count changing
> --------------------------------------------------------------------
>
>                 Key: HARMONY-3425
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3425
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Leviev
>            Assignee: weldon washburn
>
> There are thread unsafe change of alive_thread_count variable that result in race condition

> that occur during concurrent execution of thread_end_count function.
> Write -> Write data-race
> Memory write at "thread_ti_others.c":129 conflicts with a prior memory write at "thread_ti_others.c":129
> Stack Traces: 
> Context
> 	Function hythread_create_with_group "thread_native_basic.c":141
> 	Function apr_thread_create "thread.c":113
> 	Function _beginthreadex "threadex.c":145
> 	Function EntryPoint "dllcrt0.c":323
> 	Function threadstartex "threadex.c":241
> 	Function dummy_worker "thread.c":79
> 	Function thread_start_proc "thread_native_basic.c":722
> 	Function wrapper_proc "thread_java_basic.c":104
> 	Function jthread_detach "thread_java_basic.c":301
> 	Function thread_end_count "thread_ti_others.c":128
> 1st Access
> 	Function hythread_create_with_group "thread_native_basic.c":141
> 	Function apr_thread_create "thread.c":113
> 	Function _beginthreadex "threadex.c":145
> 	Function EntryPoint "dllcrt0.c":323
> 	Function threadstartex "threadex.c":241
> 	Function dummy_worker "thread.c":79
> 	Function thread_start_proc "thread_native_basic.c":722
> 	Function wrapper_proc "thread_java_basic.c":104
> 	Function jthread_detach "thread_java_basic.c":301
> 	Function thread_end_count "thread_ti_others.c":129
> 2nd Access
> 	Function hythread_create_with_group "thread_native_basic.c":141
> 	Function apr_thread_create "thread.c":113
> 	Function _beginthreadex "threadex.c":145
> 	Function EntryPoint "dllcrt0.c":323
> 	Function threadstartex "threadex.c":241
> 	Function dummy_worker "thread.c":79
> 	Function thread_start_proc "thread_native_basic.c":722
> 	Function wrapper_proc "thread_java_basic.c":104
> 	Function jthread_detach "thread_java_basic.c":301
> 	Function thread_end_count "thread_ti_others.c":129

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