8300657: Remove null filtering in CLD oop handle area

Reviewed-by: coleenp, dholmes
This commit is contained in:
Erik Österlund 2023-01-25 08:17:56 +00:00
parent 95fafd094f
commit b2071f79d8

View File

@ -211,9 +211,7 @@ int ClassLoaderData::ChunkedHandleList::count() const {
inline void ClassLoaderData::ChunkedHandleList::oops_do_chunk(OopClosure* f, Chunk* c, const juint size) {
for (juint i = 0; i < size; i++) {
if (c->_data[i] != NULL) {
f->do_oop(&c->_data[i]);
}
f->do_oop(&c->_data[i]);
}
}