JDK-8194929 : Unreferenced FileDescriptors not closed
Type:Bug
Component:core-libs
Sub-Component:java.io
Affected Version:10
Priority:P3
Status:Resolved
Resolution:Fixed
OS:linux
CPU:generic
Submitted:2018-01-11
Updated:2018-04-05
Resolved:2018-01-16
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
FileInputStream and FileOutputStream cleanup of unreferenced FileDescriptors fails to close the file descriptor on unix.
The native cleanup method is not getting called to close the raw fd.
Comments
The native method java.io.FileDescriptor.cleanupClose0 was omitted from mapfile-vers
and the Cleaner thread discarded the corresponding UnsatisifedLinkError.