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
|
@ -21,8 +21,11 @@ struct _JvObjectPrefix
|
|||
{
|
||||
protected:
|
||||
// New ABI Compatibility Dummy, #1 and 2.
|
||||
virtual void nacd_1 (void) {}; // This slot really contains the Class pointer.
|
||||
virtual void nacd_2 (void) {}; // Actually the GC bitmap marking descriptor.
|
||||
virtual void nacd_1 (void) {}; // This slot really contains the Class pointer.
|
||||
// For IA64, the GC descriptor goes into the second word of the nacd1 descr.
|
||||
# ifndef __ia64__
|
||||
virtual void nacd_2 (void) {}; // Actually the GC bitmap marking descriptor.
|
||||
# endif
|
||||
};
|
||||
|
||||
class java::lang::Object : public _JvObjectPrefix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue