javaprims.h: Rebuilt class list.
* gcj/javaprims.h: Rebuilt class list. * boehm.cc (_Jv_GCRegisterDisappearingLink): New function. (_Jv_GCCanReclaimSoftReference): New function. * include/jvm.h (_Jv_GCRegisterDisappearingLink): Declare. (_Jv_GCCanReclaimSoftReference): Declare. * java/lang/ref/Reference.java (referent): Now a RawData. (create): Renamed from `created'. Added object argument. (Reference): Don't initialize `referent' here. * Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Added new file. * java/lang/ref/natReference.cc: New file. From-SVN: r45958
This commit is contained in:
parent
cacbc3505b
commit
2b3d3db68d
8 changed files with 401 additions and 34 deletions
|
@ -166,6 +166,13 @@ void _Jv_RunGC (void);
|
|||
/* Disable and enable GC. */
|
||||
void _Jv_DisableGC (void);
|
||||
void _Jv_EnableGC (void);
|
||||
/* Register a disappearing link. This is a field F which should be
|
||||
cleared when *F is found to be inaccessible. This is used in the
|
||||
implementation of java.lang.ref.Reference. */
|
||||
void _Jv_GCRegisterDisappearingLink (jobject *objp);
|
||||
/* Return true if OBJECT should be reclaimed. This is used to
|
||||
implement soft references. */
|
||||
jboolean _Jv_GCCanReclaimSoftReference (jobject obj);
|
||||
|
||||
/* Return approximation of total size of heap. */
|
||||
long _Jv_GCTotalMemory (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue