Project

General

Profile

ActionsLike0

Bug #1152

closed

profiler.rb is not concurrent-execution threadsafe

Added by headius (Charles Nutter) about 16 years ago. Updated over 12 years ago.

Status:
Closed
Target version:
ruby -v:
all versions 1.8.6 and up
Backport:
[ruby-core:22046]

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

1152.patch (2.13 KB) 1152.patch Sample patch for discussion jabley (James Abley), 03/16/2009 09:29 AM
1152-2009-03-09.patch (3.58 KB) 1152-2009-03-09.patch latest patch jabley (James Abley), 03/16/2009 09:37 AM
#1

Updated by jabley (James Abley) about 16 years ago

#2

Updated by jabley (James Abley) about 16 years ago

#3

Updated by akr (Akira Tanaka) almost 14 years ago

  • Project changed from 8 to Ruby

Updated by naruse (Yui NARUSE) almost 14 years ago

  • Status changed from Open to Assigned
  • Assignee set to shugo (Shugo Maeda)

Updated by shugo (Shugo Maeda) almost 14 years ago

  • Assignee changed from shugo (Shugo Maeda) to matz (Yukihiro Matsumoto)

Updated by ko1 (Koichi Sasada) over 12 years ago

  • Assignee changed from matz (Yukihiro Matsumoto) to ko1 (Koichi Sasada)

Updated by ko1 (Koichi Sasada) over 12 years ago

  • Category set to lib
  • Target version set to 2.0.0

Updated by ko1 (Koichi Sasada) over 12 years ago

  • Assignee changed from ko1 (Koichi Sasada) to nobu (Nobuyoshi Nakada)
#9

Updated by nobu (Nobuyoshi Nakada) over 12 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
ActionsLike0

Also available in: Atom PDF