Weak References

Keith Holdaway Keith.Holdaway at sas.com
Sat Apr 26 14:28:08 UTC 2008


If we are seeing a huge build up of weak references:

sun/rmi/transport/WeakRef =>
      1654973  1644293  10680       0      0 Total
       794333   783888  10445       0      0 => com/sas/metadata/remote/MdObjectListImpl
       194966   194966      0       0      0 => com/sas/metadata/remote/impl/PropertyImpl
      192165   192165      0       0      0 => com/sas/services/information/metadata/OMRProperty

When does the GC algorithm decide to collect? Is there something that can be done programatically to collect earlier?

I assume GC will not collect until the weak references are "dead", i.e. the referents are available for GC since no strong refs are pointing at the referent?

Any guidance appreciated.

keith

Keith R Holdaway
Java Development Technologies

SAS The Power to Know

Carpe Diem


_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use at openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use



More information about the hotspot-gc-dev mailing list