Mercurial > hg > graal-jvmci-8
comparison src/share/vm/utilities/ostream.hpp @ 8108:0598674c0056
8008314: Unimplemented() Atomic::load breaks the applications
Summary: jlong atomics isn't fully implemented om all 32-bit platforms so we try to avoid it. In this case the atomic add wasn't needed.
Reviewed-by: dholmes, dlong
author | jwilhelm |
---|---|
date | Thu, 21 Feb 2013 11:16:50 +0100 |
parents | 4ee06e614636 |
children | e12c9b3740db |
comparison
equal
deleted
inserted
replaced
8074:b9c5e46bf915 | 8108:0598674c0056 |
---|---|
229 }; | 229 }; |
230 | 230 |
231 class rotatingFileStream : public fileStream { | 231 class rotatingFileStream : public fileStream { |
232 protected: | 232 protected: |
233 char* _file_name; | 233 char* _file_name; |
234 jlong _bytes_writen; | 234 jlong _bytes_written; |
235 uintx _cur_file_num; // current logfile rotation number, from 0 to MaxGCLogFileNumbers-1 | 235 uintx _cur_file_num; // current logfile rotation number, from 0 to MaxGCLogFileNumbers-1 |
236 public: | 236 public: |
237 rotatingFileStream(const char* file_name); | 237 rotatingFileStream(const char* file_name); |
238 rotatingFileStream(const char* file_name, const char* opentype); | 238 rotatingFileStream(const char* file_name, const char* opentype); |
239 rotatingFileStream(FILE* file) : fileStream(file) {} | 239 rotatingFileStream(FILE* file) : fileStream(file) {} |