mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8016325: JVM hangs verifying system dictionary
Minimize redundant verifications of Klasses. Reviewed-by: hseigel, jmasa
This commit is contained in:
parent
196c8abc3d
commit
39a1c1d6c2
24 changed files with 30 additions and 68 deletions
|
@ -1969,14 +1969,9 @@ void Method::collect_statistics(KlassSizeStats *sz) const {
|
|||
|
||||
void Method::verify_on(outputStream* st) {
|
||||
guarantee(is_method(), "object must be method");
|
||||
guarantee(is_metadata(), "should be metadata");
|
||||
guarantee(constants()->is_constantPool(), "should be constant pool");
|
||||
guarantee(constants()->is_metadata(), "should be metadata");
|
||||
guarantee(constMethod()->is_constMethod(), "should be ConstMethod*");
|
||||
guarantee(constMethod()->is_metadata(), "should be metadata");
|
||||
MethodData* md = method_data();
|
||||
guarantee(md == NULL ||
|
||||
md->is_metadata(), "should be metadata");
|
||||
guarantee(md == NULL ||
|
||||
md->is_methodData(), "should be method data");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue