8275084: CDS warning when building with LOG=debug

Reviewed-by: dholmes, iklam
This commit is contained in:
Yumin Qi 2021-10-21 18:30:21 +00:00
parent 49f9d8031e
commit 7dd823740f

View File

@ -59,6 +59,11 @@ void ClassListWriter::write(const InstanceKlass* k, const ClassFileStream* cfs)
return;
}
// filter out java/lang/invoke/BoundMethodHandle$Species....
if (cfs != NULL && strcmp(cfs->source(), "_ClassSpecializer_generateConcreteSpeciesCode") == 0) {
return;
}
ClassListWriter w;
write_to_stream(k, w.stream(), cfs);
}