equal
deleted
inserted
replaced
212 long fileSize(); |
212 long fileSize(); |
213 void rewind() { ::rewind(_file); } |
213 void rewind() { ::rewind(_file); } |
214 void flush(); |
214 void flush(); |
215 }; |
215 }; |
216 |
216 |
|
217 CDS_ONLY(extern fileStream* classlist_file;) |
|
218 |
217 // unlike fileStream, fdStream does unbuffered I/O by calling |
219 // unlike fileStream, fdStream does unbuffered I/O by calling |
218 // open() and write() directly. It is async-safe, but output |
220 // open() and write() directly. It is async-safe, but output |
219 // from multiple thread may be mixed together. Used by fatal |
221 // from multiple thread may be mixed together. Used by fatal |
220 // error handler. |
222 // error handler. |
221 class fdStream : public outputStream { |
223 class fdStream : public outputStream { |