prims.cc: Some old cleanups.
* libjava/prims.cc: Some old cleanups. The collector now handles test for out of memory. * libjava/prims.cc, libjava/gcj/javaprims.h: (_Jv_AllocObjectNoInitNoFinalizer, _Jv_AllocObjectNoFinalizer): New functions for finalizer-free allocation. (jvmpi_notify_alloc): Became separate function. * libjava/java/lang/Object.h, libjava/include/jvm.h: Adjust for revised vtable layout on IA64. With TARGET_VTABLE_USES_DESCRIPTORS, there is only one extra descriptor. From-SVN: r48002
This commit is contained in:
parent
b6bfa8766b
commit
938f37772e
5 changed files with 79 additions and 37 deletions
|
@ -384,6 +384,8 @@ typedef struct _Jv_Field *jfieldID;
|
|||
typedef struct _Jv_Method *jmethodID;
|
||||
|
||||
extern "C" jobject _Jv_AllocObject (jclass, jint) __attribute__((__malloc__));
|
||||
extern "C" jobject _Jv_AllocObjectNoFinalizer (jclass, jint) __attribute__((__malloc__));
|
||||
extern "C" jobject _Jv_AllocObjectNoInitNoFinalizer (jclass, jint) __attribute__((__malloc__));
|
||||
#ifdef JV_HASH_SYNCHRONIZATION
|
||||
extern "C" jobject _Jv_AllocPtrFreeObject (jclass, jint)
|
||||
__attribute__((__malloc__));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue