request for review (M): 4965777 GC changes to support use of discovered field for pending references

Ramki Ramakrishna y.s.ramakrishna at
Mon Sep 5 09:16:18 UTC 2011

CR's 4243978 and  4268317 have proposed to use the discovered field of
a java.lang.ref.reference object to link the objects in the pending list.
This requires changes in both GC and in the reference handler code.
The JVM adaptsso as to allow it to run either inside a newer JDK which 
uses the
discovered field to link the references or inside an older JDK which 
uses the
next field for that purpose. Although the JDK part of the changes are
also being submitted for review here, that part will be integrated as a 
CR and changeset into the JDK repo following the integration of the JVM 
into an appropriate version of the HotSpot (express) repos.

   JVM webrev:
   JDK webrev:

Many thanks to Mandy Chung and John Coomes for advice and for
earlier reviews; and to Mandy for additional testing help.

Thanks for any other reviews or comments.
-- ramki

More information about the hotspot-gc-dev mailing list