8255299: Drop explicit zeroing at instantiation of Atomic* objects

Reviewed-by: redestad, serb, prr
This commit is contained in:
Sergey Tsypanov 2020-10-28 12:11:53 +00:00 committed by Daniel Fuchs
parent 6b2d11ba24
commit 3c4fc79326
17 changed files with 16 additions and 19 deletions

View file

@ -95,7 +95,7 @@ import jdk.internal.access.JavaSecurityAccess;
* @since 1.1
*/
public class EventQueue {
private static final AtomicInteger threadInitNumber = new AtomicInteger(0);
private static final AtomicInteger threadInitNumber = new AtomicInteger();
private static final int LOW_PRIORITY = 0;
private static final int NORM_PRIORITY = 1;