8008314: Unimplemented() Atomic::load breaks the applications

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
This commit is contained in:
Jesper Wilhelmsson 2013-02-21 11:16:50 +01:00
parent 1d1641be2f
commit ceb2baae92
3 changed files with 22 additions and 10 deletions

View file

@ -231,7 +231,7 @@ class fdStream : public outputStream {
class rotatingFileStream : public fileStream {
protected:
char* _file_name;
jlong _bytes_writen;
jlong _bytes_written;
uintx _cur_file_num; // current logfile rotation number, from 0 to MaxGCLogFileNumbers-1
public:
rotatingFileStream(const char* file_name);