diff options
author | Bryce McKinlay <mckinlay@redhat.com> | 2004-07-13 21:03:03 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2004-07-13 22:03:03 +0100 |
commit | 6187fd28ad121ea6a3adabdcf106df70d9ea0429 (patch) | |
tree | 9e450f9a46004f388b904ee291f197c06e3c7f8a /libjava/include | |
parent | b6fa4f6e162650a0dfddbefb0104ca7d0224920d (diff) | |
download | gcc-6187fd28ad121ea6a3adabdcf106df70d9ea0429.zip gcc-6187fd28ad121ea6a3adabdcf106df70d9ea0429.tar.gz gcc-6187fd28ad121ea6a3adabdcf106df70d9ea0429.tar.bz2 |
re PR libgcj/7587 (direct threaded interpreter not thread-safe)
2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
PR libgcj/7587
* interpret.cc (compile_mutex): New.
(_Jv_InitInterpreter): New. Initialize compile_mutex.
(run): Lock compile_mutex before calling compile() if compilation is
required.
* prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
* include/java-interp.h (_Jv_InitInterpreter): Declare.
From-SVN: r84644
Diffstat (limited to 'libjava/include')
-rw-r--r-- | libjava/include/java-interp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libjava/include/java-interp.h b/libjava/include/java-interp.h index c57c146..12bc21f 100644 --- a/libjava/include/java-interp.h +++ b/libjava/include/java-interp.h @@ -35,6 +35,7 @@ _Jv_IsInterpretedClass (jclass c) struct _Jv_ResolvedMethod; +void _Jv_InitInterpreter (); void _Jv_DefineClass (jclass, jbyteArray, jint, jint); void _Jv_InitField (jobject, jclass, int); |