public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/40088]  New: Creating a std::ostringstream object locks a global mutex
@ 2009-05-10  4:45 davewx7 at gmail dot com
  2009-05-10  9:40 ` [Bug libstdc++/40088] " paolo dot carlini at oracle dot com
                   ` (14 more replies)
  0 siblings, 15 replies; 17+ messages in thread
From: davewx7 at gmail dot com @ 2009-05-10  4:45 UTC (permalink / raw)
  To: gcc-bugs

When a std::ostringstream object is created, it references a locale object
which is synchronized by a global mutex.

This causes a significant performance problem for multi-threaded applications
running on systems with many CPU's if they use string streams frequently.


-- 
           Summary: Creating a std::ostringstream object locks a global
                    mutex
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: davewx7 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40088


^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <bug-40088-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2014-02-16 10:02 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-10  4:45 [Bug libstdc++/40088] New: Creating a std::ostringstream object locks a global mutex davewx7 at gmail dot com
2009-05-10  9:40 ` [Bug libstdc++/40088] " paolo dot carlini at oracle dot com
2009-05-10 10:14 ` paolo dot carlini at oracle dot com
2009-05-10 10:42 ` paolo dot carlini at oracle dot com
2009-05-10 11:53 ` rguenth at gcc dot gnu dot org
2009-05-10 12:12 ` rguenth at gcc dot gnu dot org
2009-05-10 12:14 ` rguenth at gcc dot gnu dot org
2009-05-10 12:21 ` rguenth at gcc dot gnu dot org
2009-05-10 12:34 ` paolo dot carlini at oracle dot com
2009-05-22 21:03 ` veloso at verylowsodium dot com
2009-06-07 11:07 ` paolo dot carlini at oracle dot com
2009-12-17 11:12 ` paolo dot carlini at oracle dot com
2009-12-18  9:41 ` paolo at gcc dot gnu dot org
2009-12-18  9:51 ` paolo dot carlini at oracle dot com
2009-12-18  9:58 ` paolo dot carlini at oracle dot com
2009-12-22 10:09 ` paolo dot carlini at oracle dot com
     [not found] <bug-40088-4@http.gcc.gnu.org/bugzilla/>
2014-02-16 10:02 ` jackie.rosen at hushmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).