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