Skip to content

Commit

Permalink
Merge pull request #19929 from zl-wang/master
Browse files Browse the repository at this point in the history
Set spin-counts right
  • Loading branch information
tajila authored Jul 30, 2024
2 parents 3b3874e + dd27fc0 commit bd018c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/vm/vmthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ threadParseArguments(J9JavaVM *vm, char *optArg)
#endif /* J9VM_INTERP_CUSTOM_SPIN_OPTIONS */
PORT_ACCESS_FROM_JAVAVM(vm);

cpus = j9sysinfo_get_number_CPUs_by_type(J9PORT_CPU_ONLINE);
cpus = j9sysinfo_get_number_CPUs_by_type(J9PORT_CPU_TARGET);

/* initialize defaults, first */
vm->thrMaxYieldsBeforeBlocking = 45;
Expand Down

0 comments on commit bd018c0

Please sign in to comment.