File tree Expand file tree Collapse file tree 13 files changed +13
-13
lines changed
benchmarks/futures-rubyconf2015/benchmarks Expand file tree Collapse file tree 13 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 5
5
when Concurrent . on_cruby?
6
6
require 'gvl_future'
7
7
GVLFuture
8
- when Concurrent . on_rbx? || Concurrent . on_truffle ?
8
+ when Concurrent . on_rbx? || Concurrent . on_truffleruby ?
9
9
require 'rbx_future'
10
10
RBXFuture
11
11
when Concurrent . on_jruby?
Original file line number Diff line number Diff line change 5
5
when Concurrent . on_cruby?
6
6
require 'gvl_future'
7
7
GVLFuture
8
- when Concurrent . on_rbx? || Concurrent . on_truffle ?
8
+ when Concurrent . on_rbx? || Concurrent . on_truffleruby ?
9
9
require 'rbx_future'
10
10
RBXFuture
11
11
when Concurrent . on_jruby?
Original file line number Diff line number Diff line change 5
5
when Concurrent . on_cruby?
6
6
require 'gvl_future'
7
7
GVLFuture
8
- when Concurrent . on_rbx? || Concurrent . on_truffle ?
8
+ when Concurrent . on_rbx? || Concurrent . on_truffleruby ?
9
9
require 'rbx_future'
10
10
RBXFuture
11
11
when Concurrent . on_jruby?
Original file line number Diff line number Diff line change 5
5
when Concurrent . on_cruby?
6
6
require 'gvl_future'
7
7
GVLFuture
8
- when Concurrent . on_rbx? || Concurrent . on_truffle ?
8
+ when Concurrent . on_rbx? || Concurrent . on_truffleruby ?
9
9
require 'rbx_future'
10
10
RBXFuture
11
11
when Concurrent . on_jruby?
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class Array < ::Array
32
32
include JRuby ::Synchronized
33
33
end
34
34
35
- elsif Concurrent . on_rbx? || Concurrent . on_truffle ?
35
+ elsif Concurrent . on_rbx? || Concurrent . on_truffleruby ?
36
36
require 'monitor'
37
37
require 'concurrent/thread_safe/util/array_hash_rbx'
38
38
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class Hash < ::Hash
23
23
include JRuby ::Synchronized
24
24
end
25
25
26
- elsif Concurrent . on_rbx? || Concurrent . on_truffle ?
26
+ elsif Concurrent . on_rbx? || Concurrent . on_truffleruby ?
27
27
require 'monitor'
28
28
require 'concurrent/thread_safe/util/array_hash_rbx'
29
29
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ module Collection
15
15
when Concurrent . on_cruby?
16
16
require 'concurrent/collection/map/mri_map_backend'
17
17
MriMapBackend
18
- when Concurrent . on_rbx? || Concurrent . on_truffle ?
18
+ when Concurrent . on_rbx? || Concurrent . on_truffleruby ?
19
19
require 'concurrent/collection/map/atomic_reference_map_backend'
20
20
AtomicReferenceMapBackend
21
21
else
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class Set < ::Set
33
33
include JRuby ::Synchronized
34
34
end
35
35
36
- elsif Concurrent . on_rbx? || Concurrent . on_truffle ?
36
+ elsif Concurrent . on_rbx? || Concurrent . on_truffleruby ?
37
37
require 'monitor'
38
38
require 'concurrent/thread_safe/util/array_hash_rbx'
39
39
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ module Synchronization
12
12
JRubyLockableObject
13
13
when Concurrent . on_rbx?
14
14
RbxLockableObject
15
- when Concurrent . on_truffle ?
15
+ when Concurrent . on_truffleruby ?
16
16
MriMutexLockableObject
17
17
else
18
18
warn 'Possibly unsupported Ruby implementation'
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ module Synchronization
10
10
JRubyObject
11
11
when Concurrent . on_rbx?
12
12
RbxObject
13
- when Concurrent . on_truffle ?
13
+ when Concurrent . on_truffleruby ?
14
14
TruffleObject
15
15
else
16
16
MriObject
You can’t perform that action at this time.
0 commit comments