src/gold ChangeLog fileread.cc
rwild@sourceware.org
rwild@sourceware.org
Tue Dec 14 21:33:00 GMT 2010
CVSROOT: /cvs/src
Module name: src
Changes by: rwild@sourceware.org 2010-12-14 21:33:26
Modified files:
gold : ChangeLog fileread.cc
Log message:
gold: fix race in FileRead::~View.
gold/:
* fileread.cc (file_counts_lock, file_counts_initialize_lock)
(total_mapped_bytes, current_mapped_bytes, maximum_mapped_bytes):
Move definition before File_read::View member definitions.
(File_read::View::~View): Initialize and hold lock before
updating current_mapped_bytes.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&r1=1.679&r2=1.680
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/fileread.cc.diff?cvsroot=src&r1=1.68&r2=1.69
More information about the Binutils-cvs
mailing list