Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Conventional & Interruptable IO [ARCHIVE]
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Aug 25, 2010 5:41 PM by
IO streams on VM Exit
Aug 25, 2010 11:43 AM
I have small doubt about closing io streams.
Lets say there is small program which opens a FileInputStream, reads from a file and exits with out closing FileInputStream. Does all system resources will be released ?
Thanks in advance :)
This content has been marked as final.
Show 1 reply
Re: IO streams on VM Exit
Aug 25, 2010 5:41 PM
in response to
All system resources will be released
by the operating system
but if you are using buffered streams or writers they won't be flushed. Don't do this.