mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 08:03:41 +08:00
107abb2f61
* interpret.cc: Remove static Utf8Consts. Use namespace gcj. * jni.cc: Likewise. * resolve.cc: Likewise. * defineclass.cc: Likewise. (_Jv_ClassReader::handleClassBegin): Synchronize call to _Jv_RegisterClass. * include/jvm.h (void_signature, clinit_name, init_name, finit_name): Declare in namespace gcj. * java/lang/Class.h (Class): Remove initialization for primitive types. (friend void _Jv_InitPrimClass): This is in prims.cc. * prims.cc (_Jv_InitPrimClass): Do primitive type initialization here instead. (void_signature, clinit_name, init_name, finit_name): Define in namespace gcj. (_Jv_CreateJavaVM): Call _Jv_InitThreads, _Jv_InitGC, and _Jv_InitializeSyncMutex from here. Initialize Utf8 constants. Initialize primitive types. * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Don't call initialization routines. Don't synchronize. * java/lang/natRuntime.cc (_load): Synchronize on java.lang.Class across dlopen call. From-SVN: r46282 |
||
---|---|---|
.. | ||
boehm-gc.h | ||
config.h.in | ||
default-signal.h | ||
dwarf2-signal.h | ||
i386-signal.h | ||
java-assert.h | ||
java-chardecomp.h | ||
java-chartables.h | ||
java-cpool.h | ||
java-insns.h | ||
java-interp.h | ||
java-props.h | ||
jni.h | ||
jvm.h | ||
jvmpi.h | ||
Makefile.am | ||
Makefile.in | ||
name-finder.h | ||
no-gc.h | ||
no-threads.h | ||
posix-threads.h | ||
posix.h | ||
sparc-signal.h | ||
stamp-h.in | ||
win32-signal.h | ||
win32-threads.h |