gcc/libjava/include
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
..
boehm-gc.h no-gc.h (_Jv_IsThreadSuspended): Declare. 2007-04-23 21:12:10 +00:00
config.h.in re PR libgcj/24170 (libjava natFilePosix.cc seems to have a security problem) 2008-02-20 19:09:09 +00:00
darwin-signal.h
default-signal.h
dwarf2-signal.h
execution.h configure.ac (INTERPRETER): New AM_CONDITIONAL. 2007-07-31 16:17:21 +00:00
hppa-signal.h
i386-signal.h i386-signal.h: Rewrite to use rt_sigaction. 2007-01-12 12:30:56 +00:00
java-assert.h
java-chardecomp.h
java-chartables.h
java-cpool.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
java-insns.h java-insns.h (enum java_code): Add op_breakpoint. 2006-10-14 20:11:12 +00:00
java-interp.h re PR libgcj/8995 (race cases in interpreter) 2008-09-23 13:51:58 +00:00
java-props.h
java-stack.h java-stack.h (_Jv_FrameInfo): Remove union definition. 2007-05-17 03:53:45 +00:00
jni_md.h re PR libgcj/30999 (support for GCC4.0's fvisibility option in JNIEXPORT macro) 2007-06-28 19:35:25 +00:00
jvm.h re PR libgcj/8995 (race cases in interpreter) 2008-08-22 16:04:29 +00:00
jvmpi.h
jvmti_md.h jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED): Define. 2007-01-29 17:43:34 +00:00
jvmti-int.h jvmti-int.h (_Jv_ReportJVMTIExceptionThrow): Declare. 2007-05-04 01:04:11 +00:00
Makefile.am
Makefile.in install.texi (--enable-reduced-reflection): Document new option. 2008-09-05 17:09:02 +00:00
mips-signal.h mips-signal.h (sys/syscall.h): Do not include. 2006-11-20 19:49:08 +00:00
no-gc.h no-gc.h (_Jv_IsThreadSuspended): Declare. 2007-04-23 21:12:10 +00:00
no-threads.h re PR libgcj/28546 (./java/lang/Thread.h:31: error: using typedef-name '_Jv_Thread_t' after 'class') 2006-08-02 22:18:05 +02:00
pa-signal.h
posix-threads.h re PR libgcj/29324 (add wait handling hook) 2007-05-12 17:37:55 +00:00
posix.h re PR libgcj/31228 (Race condition between setting close-on-exec and Runtime.exec()) 2007-03-23 00:06:41 +00:00
powerpc-signal.h
s390-signal.h
sh-signal.h
sparc-signal.h
stamp-h.in
win32-signal.h
win32-threads.h * include/win32-threads.h: Added #undef OUT. 2007-02-22 14:13:34 +00:00
win32.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
x86_64-signal.h i386-signal.h: Rewrite to use rt_sigaction. 2007-01-12 12:30:56 +00:00