Log in
Skip to main content
Skip to sidebar
Dashboards
Projects
Issues
Help
Jira Core help
Keyboard Shortcuts
About Jira
Jira Credits
Log In
Watched Subcomponents
JDK
JDK-8255299
Drop explicit zeroing at instantiation of Atomic* objects
Log In
Export
XML
Word
Printable
Details
Type:
Enhancement
Status:
Resolved
Priority:
P4
Resolution:
Fixed
Affects Version/s:
None
Fix Version/s:
16
Component/s:
core-libs
Labels:
None
Subcomponent:
java.util
Resolved In Build:
b22
Description
There is never a reason to explicitly instantiate any instance of Atomic* class with its default value, i.e. new AtomicInteger(0) could be replaced with new AtomicInteger() which is faster
Attachments
Issue Links
links to
Commit
openjdk/jdk/3c4fc793
Review
openjdk/jdk/818
Activity
People
Assignee:
Daniel Fuchs
Reporter:
Claes Redestad
Votes:
0
Vote for this issue
Watchers:
3
Start watching this issue
Dates
Created:
2020-10-23 00:49
Updated:
2020-10-28 22:37
Resolved:
2020-10-28 05:12