8329967: Build failure after JDK-8329628

Reviewed-by: thartmann, shade, dcubed
This commit is contained in:
Vladimir Kozlov 2024-04-09 16:20:43 +00:00
parent 4bba445d83
commit b80ba08518

View File

@ -687,7 +687,7 @@ void CodeCache::nmethods_do(void f(nmethod* nm)) {
void CodeCache::nmethods_do(NMethodClosure* cl) {
assert_locked_or_safepoint(CodeCache_lock);
NMethodIterator iter(NMethodIterator::all_blobs);
NMethodIterator iter(NMethodIterator::all);
while(iter.next()) {
cl->do_nmethod(iter.method());
}