RFR: JDK-8150002 - Check for the validity of oop before printing it in verify_remembered_set

Shafi Ahmad shafi.s.ahmad at oracle.com
Thu Feb 25 09:13:08 UTC 2016


Hi All,

 

Please review the trivial change of adding check if object is an oop.

 

Summary: Code change to protect against the crashes that can occur if the object (obj) in the 'to' region which is being printed here has been overwritten and is no longer a valid oop.  

 

Open webrev: http://cr.openjdk.java.net/~rpatil/8150002/webrev.00/

Bug link: https://bugs.openjdk.java.net/browse/JDK-8150002

 

Testing:  JPRT

 

Since this is a trivial change so I haven't run the jtreg tests.

 

Regards,

Shafi


More information about the hotspot-runtime-dev mailing list