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
|
||
|---|---|---|
| .. | ||
| classpath | ||
| contrib | ||
| gcj | ||
| gnu | ||
| include | ||
| java | ||
| javax | ||
| libltdl | ||
| org | ||
| scripts | ||
| sun | ||
| sysdep | ||
| testsuite | ||
| aclocal.m4 | ||
| addr2name.awk | ||
| boehm.cc | ||
| ChangeLog | ||
| ChangeLog-1998 | ||
| ChangeLog-1999 | ||
| ChangeLog-2000 | ||
| ChangeLog-2001 | ||
| ChangeLog-2002 | ||
| ChangeLog-2003 | ||
| ChangeLog-2004 | ||
| ChangeLog-2005 | ||
| ChangeLog-2006 | ||
| ChangeLog-2007 | ||
| configure | ||
| configure.ac | ||
| configure.host | ||
| COPYING | ||
| darwin.cc | ||
| defineclass.cc | ||
| exception.cc | ||
| gij.cc | ||
| HACKING | ||
| headers.txt | ||
| interpret-run.cc | ||
| interpret.cc | ||
| jni-libjvm.cc | ||
| jni.cc | ||
| jvmti.cc | ||
| libgcj_bc.c | ||
| LIBGCJ_LICENSE | ||
| libgcj-test.spec.in | ||
| libgcj.pc.in | ||
| libgcj.spec.in | ||
| libgcj.ver | ||
| libtool-version | ||
| link.cc | ||
| Makefile.am | ||
| Makefile.in | ||
| mauve-libgcj | ||
| mingwld.m4 | ||
| NEWS | ||
| no-threads.cc | ||
| nogc.cc | ||
| pkg.m4 | ||
| posix-threads.cc | ||
| posix.cc | ||
| prims.cc | ||
| README | ||
| shlibpath.m4 | ||
| sources.am | ||
| stacktrace.cc | ||
| standard.omit.in | ||
| THANKS | ||
| verify.cc | ||
| win32-threads.cc | ||
| win32.cc | ||
This is libgcj: the runtime library for gcj, the GNU Compiler for Java. libgcj provides a partial implementation of the Java Class Libraries. libgcj is free software. See the file LIBGCJ_LICENSE for copying permission. DOCUMENTATION ============= All documentation, including detailed installation and usage instructions, can be found on the gcj web pages at this URL: http://gcc.gnu.org/java/ BUGS ==== Please submit bug reports via this URL: http://gcc.gnu.org/bugzilla