Friday, June 01, 2007

make the unspecific action fixed

According the java.lang.ref, the soft reference, weak reference and phantom reference can expect the gc's specific action after the above type's object is ready to be reclaimed by gc. basically, the strong reference can not guarantee what action gc will take in JAVA.

To some extent, the new reference type may be the remedy to the existed mechanism of gc and JAVA application.

2 comments:

沈羽 - 现在上海 said...

When will this technique be used as a remedy?

Charles said...

now, it has been available.