Log in
Skip to main content
Skip to sidebar
Dashboards
Projects
Issues
Help
Keyboard Shortcuts
About Jira
Jira Credits
Log In
Watched Subcomponents
JDK
JDK-8310530
PipedOutputStream.flush() accesses sink racily
Log In
Resolved
Export
null
XML
Word
Printable
Details
Type:
Enhancement
Resolution:
Fixed
Priority:
P4
Fix Version/s:
22
Affects Version/s:
None
Component/s:
core-libs
Labels:
None
Subcomponent:
java.io
Resolved In Build:
b08
Description
Just a tiny clean-up to avoid reading the volatile value twice (a relatively expensive operation). As soon as we are within `synchronized` method we can read sink only once.
Attachments
Issue Links
links to
Commit
openjdk/jdk/d8f2e9ae
Review
openjdk/jdk/14589
Activity
People
Assignee:
Sergey Tsypanov
Reporter:
Sergey Tsypanov
Votes
:
0
Vote for this issue
Watchers:
3
Start watching this issue
Dates
Created:
2023-06-21 02:52
Updated:
2023-07-31 12:13
Resolved:
2023-07-24 09:26