You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Leviev (JIRA)" <ji...@apache.org> on 2008/01/10 14:23:34 UTC

[jira] Resolved: (HARMONY-3425) [drlvm][thread][tc] Race condition while alive_thread_count changing

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

Ilya Leviev resolved HARMONY-3425.
----------------------------------

    Resolution: Fixed

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