(1)
Inline small array copy size without using rep movs for int array and long array if copy size <= 32 bytes
(2)
Add the following options to disable the enhancement
disableArrayCopyIntArrayInlineSmallSizeWithoutREPMOVS: disable the enhancement for int array
disableArrayCopyLongArrayInlineSmallSizeWithoutREPMOVS: disable the enhancement for long array
disableArrayCopyReferenceArrayInlineSmallSizeWithoutREPMOVS: disable the enhancement for reference array, which will be implemented in downstream project OpenJ9.
Resubmit https://github.com/eclipse/omr/pull/7362 which was reverted in https://github.com/eclipse/omr/pull/7365, plus update the code to have the threshold as 32 bytes to use rep mov. The code that supports the threshold as 64/128 bytes is kept for now for future improvement.
(1) Inline small array copy size without using
rep movs
for int array and long array if copy size <= 32 bytes(2) Add the following options to disable the enhancement
disableArrayCopyIntArrayInlineSmallSizeWithoutREPMOVS
: disable the enhancement for int arraydisableArrayCopyLongArrayInlineSmallSizeWithoutREPMOVS
: disable the enhancement for long arraydisableArrayCopyReferenceArrayInlineSmallSizeWithoutREPMOVS
: disable the enhancement for reference array, which will be implemented in downstream project OpenJ9.