Skip to content

Commit cadc8de

Browse files
meineerdeeregon
authored andcommitted
Update comment for JRuby variant of processor_count to reality
1 parent b16af1e commit cadc8de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/concurrent-ruby/concurrent/utility/processor_counter.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ def compute_cpu_quota
128128
# `java.lang.Runtime.getRuntime.availableProcessors` will be used. According
129129
# to the Java documentation this "value may change during a particular
130130
# invocation of the virtual machine... [applications] should therefore
131-
# occasionally poll this property." Subsequently the result will NOT be
132-
# memoized under JRuby.
131+
# occasionally poll this property." We still memoize this value once under
132+
# JRuby.
133133
#
134134
# Otherwise Ruby's Etc.nprocessors will be used.
135135
#

0 commit comments

Comments
 (0)