Skip to content

Commit

Permalink
Merge pull request #10636 from midronij/WAS-reg
Browse files Browse the repository at this point in the history
Change default -Xthr:spin1 value for PPC64BE
  • Loading branch information
pshipton committed Sep 18, 2020
2 parents 149dd61 + 8f94dbb commit 1f73f3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime/vm/vmthread.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,9 @@ threadParseArguments(J9JavaVM *vm, char *optArg)
vm->thrDeflationPolicy = J9VM_DEFLATION_POLICY_ASAP;

if (cpus > 1) {
#if defined(AIXPPC) || defined(LINUXPPC)
#if (defined(LINUXPPC)) && !defined(J9VM_ENV_LITTLE_ENDIAN)
vm->thrMaxSpins1BeforeBlocking = 151;
#elif defined(AIXPPC) || defined(LINUXPPC)
vm->thrMaxSpins1BeforeBlocking = 96;
#else /* defined(AIXPPC) || defined(LINUXPPC) */
vm->thrMaxSpins1BeforeBlocking = 256;
Expand Down

0 comments on commit 1f73f3f

Please sign in to comment.