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] Created: (HARMONY-3370) [drlvm][jit] Race condition at vm\jitrino\src\vm\drl\drljitinterface.cpp
Date Mon, 12 Mar 2007 16:48:09 GMT
[drlvm][jit] Race condition at vm\jitrino\src\vm\drl\drljitinterface.cpp
------------------------------------------------------------------------

                 Key: HARMONY-3370
                 URL: https://issues.apache.org/jira/browse/HARMONY-3370
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Ilya Leviev


There are thread unsafe access that result in race condition that occur during concurrent
execution of JIT_compile_method_with_params function. 

Build configuration - debug

Write -> Read and Write -> Write data-races	
Memory read at "drljitinterface.cpp":250 conflicts with a prior memory 
write at "drljitinterface.cpp":250 (L250: int current_nb = method_seqnb++;)

Stack Traces: 

Context
	Function rth_update_checkcast_stats "jit_runtime_support.cpp":376
	Function class VM_thread * get_thread_ptr_stub(void) "thread_manager.cpp":145
	Function void * compile_me(struct Method *) "compile.cpp":787
	Function compile_do_compilation "compile.cpp":767
	Function CompileMethod "em_intf.cpp":49
	Function enum JIT_Result DrlEMImpl::compileMethod(struct Method *) "drlemimpl.cpp":570
	Function vm_compile_method "c_interface.cpp":2486
	Function enum JIT_Result compile_do_compilation_jit(struct Method *,class JIT *) "compile.cpp":654
	Function enum JIT_Result Dll_JIT::compile_method_with_params(void *,struct Method *,struct
OpenMethodExecutionParams) "dll_jit_intf.h":86
	Function JIT_compile_method_with_params "drljitinterface.cpp":236



1st Access
	Function hythread_thin_monitor_exit "thread_native_thin_monitor.c":410
	Function class VM_thread * get_thread_ptr_stub(void) "thread_manager.cpp":145
	Function void * compile_me(struct Method *) "compile.cpp":787
	Function compile_do_compilation "compile.cpp":767
	Function CompileMethod "em_intf.cpp":49
	Function enum JIT_Result DrlEMImpl::compileMethod(struct Method *) "drlemimpl.cpp":570
	Function vm_compile_method "c_interface.cpp":2486
	Function enum JIT_Result compile_do_compilation_jit(struct Method *,class JIT *) "compile.cpp":654
	Function enum JIT_Result Dll_JIT::compile_method_with_params(void *,struct Method *,struct
OpenMethodExecutionParams) "dll_jit_intf.h":86
	Function JIT_compile_method_with_params "drljitinterface.cpp":250


2nd Access
	Function rth_update_checkcast_stats "jit_runtime_support.cpp":376
	Function class VM_thread * get_thread_ptr_stub(void) "thread_manager.cpp":145
	Function void * compile_me(struct Method *) "compile.cpp":787
	Function compile_do_compilation "compile.cpp":767
	Function CompileMethod "em_intf.cpp":49
	Function enum JIT_Result DrlEMImpl::compileMethod(struct Method *) "drlemimpl.cpp":570
	Function vm_compile_method "c_interface.cpp":2486
	Function enum JIT_Result compile_do_compilation_jit(struct Method *,class JIT *) "compile.cpp":654
	Function enum JIT_Result Dll_JIT::compile_method_with_params(void *,struct Method *,struct
OpenMethodExecutionParams) "dll_jit_intf.h":86
	Function JIT_compile_method_with_params "drljitinterface.cpp":250





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