RFR(S) 8240481: Remove CDS usage of InstanceKlass::is_in_error_state

Calvin Cheung calvin.cheung at oracle.com
Wed Mar 4 05:23:09 UTC 2020


JBS: https://bugs.openjdk.java.net/browse/JDK-8240481

webrev: http://cr.openjdk.java.net/~ccheung/jdk15/8240481/webrev.00/

Changes include:

1. A bool _fail_verification will be added to the 
DumpTimeSharedClassInfo to indicate a class has failed verification.
    Helper functions will be added to SystemDictionaryShared to set and 
get the above bool field.
    SystemDictionaryShared::set_class_has_failed_verification(ik) will 
be called instead of ik->set_in_error_state().
    SystemDictionaryShared::has_class_failed_verification(ik) will be 
called instead of ik->is_in_error_state().


2. The class CheckSharedClassesClosure and related code will be removed 
as similar work is already done in 
SystemDictionaryShared::check_excluded_classes().

Passed tier1 - 4 tests.

thanks,
Calvin


More information about the hotspot-runtime-dev mailing list