RFR 8005056: NPG: Crash after redefining java.lang.Object
Christian Tornqvist
christian.tornqvist at oracle.com
Thu May 9 07:41:37 PDT 2013
Hi Coleen,
You don't need the MANIFEST.MF file checked in, the test will create that
for you (since it needs to be in the scratch folder when jtreg runs it).
Also, please name Test.java to something more descriptive, add @bug tag with
a bug id and @summary with a short description on what the test is for.
Thanks,
Christian
-----Original Message-----
From: hotspot-runtime-dev-bounces at openjdk.java.net
[mailto:hotspot-runtime-dev-bounces at openjdk.java.net] On Behalf Of Coleen
Phillimore
Sent: den 8 maj 2013 22:52
To: hotspot-runtime-dev
Subject: RFR 8005056: NPG: Crash after redefining java.lang.Object
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