eclipse-openj9 / openj9-omr

Eclipse OpenJ9's clone of the Eclipse OMR (https://github.com/eclipse/omr) project. PRs should be opened against the upstream OMR project whenever possible.
Other
38 stars 135 forks source link

(0.46) x86-64: Implement an enhancement for byte array and char array System.arraycopy #202

Closed a7ehuo closed 5 months ago

a7ehuo commented 5 months ago

This PR ports https://github.com/eclipse/omr/pull/7332 into v0.46.0 release.


Implement an enhancement for byte array and char array System.arraycopy on x86-64.

Also add JIT options that disable array copy enhancement:

disableArrayCopyEnhancementByteArray: Disable array copy enhancement for 8 bit primitive array disableArrayCopyEnhancementCharArray: Disable array copy enhancement for 16 bit primitive array

a7ehuo commented 5 months ago

@0xdaryl @vijaysun-omr @hzongaro fyi