Skip to content

Commit e777d1c

Browse files
committed
Truffle::System.logical_processors is gone
1 parent eb1bd1d commit e777d1c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/concurrent/utility/processor_counter.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ def physical_processor_count
7676
def compute_processor_count
7777
if Concurrent.on_jruby?
7878
java.lang.Runtime.getRuntime.availableProcessors
79-
elsif Concurrent.on_truffleruby?
80-
Truffle::Primitive.logical_processors
8179
else
8280
os_name = RbConfig::CONFIG["target_os"]
8381
if os_name =~ /mingw|mswin/

0 commit comments

Comments
 (0)