Skip to content

Commit

Permalink
Update comment for JRuby variant of processor_count to reality
Browse files Browse the repository at this point in the history
  • Loading branch information
meineerde authored and eregon committed Jul 9, 2024
1 parent b16af1e commit cadc8de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/concurrent-ruby/concurrent/utility/processor_counter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ def compute_cpu_quota
# `java.lang.Runtime.getRuntime.availableProcessors` will be used. According
# to the Java documentation this "value may change during a particular
# invocation of the virtual machine... [applications] should therefore
# occasionally poll this property." Subsequently the result will NOT be
# memoized under JRuby.
# occasionally poll this property." We still memoize this value once under
# JRuby.
#
# Otherwise Ruby's Etc.nprocessors will be used.
#
Expand Down

0 comments on commit cadc8de

Please sign in to comment.