Summary: walk all classes at the end of redefinition and adjust method entries and clean MethodData

This improves performance for redefining multiple classes at once. See CR for more information.

Tested with redefinition tests in repository, and hs tier1-3.

make test TEST=open/test/hotspot/jtreg/vmTestbase/nsk/jvmti >&jvmti.out
make test TEST=open/test/hotspot/jtreg/vmTestbase/nsk/jdi >&jdi.out
make test TEST=open/test/hotspot/jtreg/runtime/RedefineTests >&redefine.out
make test TEST=open/test/hotspot/jtreg/runtime/logging >&logging.out
make test TEST=open/test/jdk/java/lang/instrument >&instrument.out
make test TEST=open/test/jdk/com/sun/jdi >&jtreg.jdi.out

open webrev at http://cr.openjdk.java.net/~coleenp/2019/8078725.01/webrev
bug link https://bugs.openjdk.java.net/browse/JDK-8078725

Thanks,
Coleen

Reply via email to