comparison src/share/vm/utilities/ostream.hpp @ 20375:6e0cb14ce59b

8046070: Class Data Sharing clean up and refactoring Summary: Cleaned up CDS to be more configurable, maintainable and extensible Reviewed-by: dholmes, coleenp, acorn, mchung
author iklam
date Thu, 21 Aug 2014 13:57:51 -0700
parents 0982ec23da03
children 7848fc12602b
comparison
equal deleted inserted replaced
20374:999824269b71 20375:6e0cb14ce59b
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 {