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
|
||
|---|---|---|
| .. | ||
| AccessibleObject.h | ||
| AnnotatedElement.h | ||
| Array.h | ||
| Array.java | ||
| Constructor.h | ||
| Constructor.java | ||
| Field.h | ||
| Field.java | ||
| GenericArrayType.h | ||
| GenericDeclaration.h | ||
| GenericSignatureFormatError.h | ||
| InvocationHandler.h | ||
| InvocationTargetException.h | ||
| MalformedParameterizedTypeException.h | ||
| Member.h | ||
| Method.h | ||
| Method.java | ||
| Modifier.h | ||
| Modifier.java | ||
| natArray.cc | ||
| natConstructor.cc | ||
| natField.cc | ||
| natMethod.cc | ||
| natVMProxy.cc | ||
| ParameterizedType.h | ||
| Proxy.h | ||
| Proxy$ClassFactory.h | ||
| Proxy$ProxyData.h | ||
| Proxy$ProxySignature.h | ||
| Proxy$ProxyType.h | ||
| ReflectPermission.h | ||
| Type.h | ||
| TypeVariable.h | ||
| UndeclaredThrowableException.h | ||
| VMProxy.h | ||
| VMProxy.java | ||
| WildcardType.h | ||