Andrew Haley
f0580031a7
re PR libgcj/8995 (race cases in interpreter)
2008-09-17 Andrew Haley <aph@redhat.com>
PR libgcj/8995:
* defineclass.cc (_Jv_ClassReader::handleCodeAttribute):
Initialize thread_count.
* include/java-interp.h (_Jv_InterpMethod::thread_count): New
field.
(_Jv_InterpMethod::rewrite_insn_mutex): New mutex.
(_Jv_InterpFrame:: _Jv_InterpFrame): Pass frame_type.
* interpret.cc
(ThreadCountAdjuster): New class.
(_Jv_InterpMethod::thread_count): New field.
(_Jv_InitInterpreter): Initialize rewrite_insn_mutex.
Increment and decrement thread_count field in methods.
* interpret-run.cc (REWRITE_INSN): Check thread_count <= 1.
(REWRITE_INSN): Likewise.
Declare a ThreadCountAdjuster.
* java/lang/reflect/natVMProxy.cc (run_proxy): Initialize frame
type as frame_proxy.
From-SVN: r140593
2008-09-23 13:51:58 +00:00
..
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-02-01 21:36:01 +00:00
2007-01-09 19:58:05 +00:00
2007-02-01 21:36:01 +00:00
2007-07-13 14:07:16 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-04-18 17:13:20 +00:00
2007-03-05 16:06:27 +00:00
2007-01-09 19:58:05 +00:00
2006-05-24 17:21:52 +00:00
2005-03-10 19:02:21 +00:00
2007-01-09 19:58:05 +00:00
2007-07-13 14:07:16 +00:00
2007-08-04 10:53:49 +00:00
2008-09-23 13:51:58 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00
2007-01-09 19:58:05 +00:00