ActionsLike0
Bug #1152
closedprofiler.rb is not concurrent-execution threadsafe
Description
=begin
The library profiler.rb uses class variables to store data without wrapping them in mutexes. On current C Ruby, this may only rarely cause a problem, but as more and more code is allowed to run in parallel it's going to lead to issues. If I or other JRuby community members have a chance, we'll try to make it thread-safe, but I wanted to file this issue to ensure it's out there.
The library is also largely unchanged in 1.9.1.
See http://jira.codehaus.org/browse/JRUBY-2133 for the (admittedly sparse) JRuby issue.
=end
Files
Added by nobu (Nobuyoshi Nakada) over 12 years ago
ActionsLike0
profiler.rb: concurrent-execution
profile data per threads for concurrent-execution.
[ruby-core:22046] [Bug #1152]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e