diff options
author | Rex Kerr <ichoran@gmail.com> | 2016-11-09 00:30:31 -0800 |
---|---|---|
committer | Rex Kerr <ichoran@gmail.com> | 2016-11-09 18:00:07 -0800 |
commit | e5fd42d60a8eee70e2e4fa1c141557924115763d (patch) | |
tree | e644b05513ece978beea7a570db587754cc251bd /src/intellij | |
parent | 10c609e750a7089055b126e6231e5ddb2f2e8623 (diff) | |
download | scala-e5fd42d60a8eee70e2e4fa1c141557924115763d.tar.gz scala-e5fd42d60a8eee70e2e4fa1c141557924115763d.tar.bz2 scala-e5fd42d60a8eee70e2e4fa1c141557924115763d.zip |
Improved runtime speed for Vector, restoring previous performance.
All calls to Platform.arraycopy were rewritten as java.lang.System.arraycopy to reduce the work that the JIT compiler has to do to produce optimized bytecode that avoids zeroing just-allocated arrays that are about to be copied over.
(Tested with -XX:-ReduceBulkZeroing as suggested by retronym.)
Diffstat (limited to 'src/intellij')
0 files changed, 0 insertions, 0 deletions