Branch: refs/heads/master
Home:   http://github.com/penberg/jato

Commit: d20dcf40932b431933b48ae385e02a119e9d86d0
    
http://github.com/penberg/jato/commit/d20dcf40932b431933b48ae385e02a119e9d86d0
Author: Tomek Grabiec <tgrab...@gmail.com>
Date:   2009-09-08 (Tue, 08 Sep 2009)

Changed paths:
  M arch/x86/emit-code.c
  M arch/x86/insn-selector.brg
  M include/jit/compilation-unit.h
  M include/jit/compiler.h
  M jit/compilation-unit.c
  M jit/emit.c
  M jit/fixup-site.c
  M test/jit/Makefile

Log Message:
-----------
jit: fix race condition in fixup_direct_calls()

This fixes incorrect lock order reported by helgrind:
==7951== Thread #1: lock order "0x5277F84 before 0x55D7D64" violated
==7951==    at 0x4026125: pthread_mutex_lock (in 
/usr/lib/valgrind/x86-linux/vgpreload_helgrind.so)
==7951==    by 0x80563BE: fixup_direct_calls (emit-code.c:355)
==7951==    by 0x8082A83: jit_magic_trampoline (trampoline.c:161)
==7951==    by 0x88D741C: ???
==7951==    by 0x88D79F9: ???
==7951==   Required order was established by acquisition of lock at 0x5277F84
==7951==    at 0x4026125: pthread_mutex_lock (in 
/usr/lib/valgrind/x86-linux/vgpreload_helgrind.so)
==7951==    by 0x80829E0: jit_magic_trampoline (trampoline.c:125)
==7951==    by 0x88D00CC: ???
==7951==    by 0x88D73CC: ???
==7951==   followed by a later acquisition of lock at 0x55D7D64
==7951==    at 0x4026125: pthread_mutex_lock (in 
/usr/lib/valgrind/x86-linux/vgpreload_helgrind.so)
==7951==    by 0x8076801: trampoline_add_fixup_site (fixup-site.c:53)
==7951==    by 0x805DA8B: invoke (insn-selector.c:754)
==7951==    by 0x8063A08: mono_burg_emit (insn-selector.c:3094)
==7951==    by 0x805E139: emit_code (insn-selector.c:869)
==7951==    by 0x805E37E: insn_select (insn-selector.c:920)
==7951==    by 0x805E4D4: select_instructions (insn-selector.c:970)
==7951==    by 0x8073303: compile (compiler.c:80)
==7951==    by 0x80828A3: jit_java_trampoline (trampoline.c:97)
==7951==    by 0x8082A25: jit_magic_trampoline (trampoline.c:135)
==7951==    by 0x88D00CC: ???
==7951==    by 0x88D73CC: ???

Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi>


Commit: 1d22b72addf490cf9b67c335171cedbbdfc35e85
    
http://github.com/penberg/jato/commit/1d22b72addf490cf9b67c335171cedbbdfc35e85
Author: Pekka Enberg <penb...@cs.helsinki.fi>
Date:   2009-09-08 (Tue, 08 Sep 2009)

Changed paths:
  M Makefile
  M vm/jato.c

Log Message:
-----------
Add -version command line option to Jato

Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi>


Commit: 848fde0dba69b5a2e62c1f5fd4f6a6104fd9dd71
    
http://github.com/penberg/jato/commit/848fde0dba69b5a2e62c1f5fd4f6a6104fd9dd71
Author: Pekka Enberg <penb...@cs.helsinki.fi>
Date:   2009-09-08 (Tue, 08 Sep 2009)

Changed paths:
  M Makefile

Log Message:
-----------
Jato v0.0.1

Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi>



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to