8378872: Mark waitList in FetcherInfo final

Reviewed-by: prr, azvegint
This commit is contained in:
Alexey Ivanov 2026-03-02 14:19:34 +00:00
parent 2678fe41ca
commit 2adffe0c3c

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -314,10 +314,10 @@ class FetcherInfo {
static final int MAX_NUM_FETCHERS = 4;
static final FetcherInfo FETCHER_INFO = new FetcherInfo();
Thread[] fetchers;
final Thread[] fetchers;
int numFetchers;
int numWaiting;
Vector<ImageFetchable> waitList;
final Vector<ImageFetchable> waitList;
private FetcherInfo() {
fetchers = new Thread[MAX_NUM_FETCHERS];