comparison src/share/vm/oops/method.cpp @ 11034:e0c9a1d29eb4

8016325: JVM hangs verifying system dictionary Summary: Minimize redundant verifications of Klasses. Reviewed-by: hseigel, jmasa
author coleenp
date Mon, 24 Jun 2013 18:55:46 -0400
parents a1ebd310d5c1
children 16511b7e3d35
comparison
equal deleted inserted replaced
11033:d9eed26d638a 11034:e0c9a1d29eb4
1967 1967
1968 // Verification 1968 // Verification
1969 1969
1970 void Method::verify_on(outputStream* st) { 1970 void Method::verify_on(outputStream* st) {
1971 guarantee(is_method(), "object must be method"); 1971 guarantee(is_method(), "object must be method");
1972 guarantee(is_metadata(), "should be metadata");
1973 guarantee(constants()->is_constantPool(), "should be constant pool"); 1972 guarantee(constants()->is_constantPool(), "should be constant pool");
1974 guarantee(constants()->is_metadata(), "should be metadata");
1975 guarantee(constMethod()->is_constMethod(), "should be ConstMethod*"); 1973 guarantee(constMethod()->is_constMethod(), "should be ConstMethod*");
1976 guarantee(constMethod()->is_metadata(), "should be metadata");
1977 MethodData* md = method_data(); 1974 MethodData* md = method_data();
1978 guarantee(md == NULL || 1975 guarantee(md == NULL ||
1979 md->is_metadata(), "should be metadata");
1980 guarantee(md == NULL ||
1981 md->is_methodData(), "should be method data"); 1976 md->is_methodData(), "should be method data");
1982 } 1977 }