mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8255299: Drop explicit zeroing at instantiation of Atomic* objects
Reviewed-by: redestad, serb, prr
This commit is contained in:
parent
6b2d11ba24
commit
3c4fc79326
17 changed files with 16 additions and 19 deletions
|
@ -62,7 +62,7 @@ public class ResourceManager {
|
|||
}
|
||||
} catch (NumberFormatException e) {}
|
||||
maxSockets = defmax;
|
||||
numSockets = new AtomicInteger(0);
|
||||
numSockets = new AtomicInteger();
|
||||
}
|
||||
|
||||
public static void beforeUdpCreate() throws SocketException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue