RFR 8005056: NPG: Crash after redefining java.lang.Object

Coleen Phillimore coleen.phillimore at oracle.com
Wed May 8 19:51:32 PDT 2013


Summary: Need to walk array class vtables replacing old methods too if 
j.l.o is redefined

Array methods aren't in the SystemDictionary and the code that was there 
didn't walk the basic type array classes defined in universe.   It also 
walked the same classes more than once.  Use the ClassLoaderDataGraph 
class walking instead.

open webrev at http://cr.openjdk.java.net/~coleenp/8005056/
bug link at http://bugs.sun.com/view_bug.do?bug_id=8005056

Tested with all redefine classes tests, jdk java/lang/instrument tests, 
hotspot jtreg tests.

Thanks,
Coleen



More information about the hotspot-runtime-dev mailing list