(long dst, long src, long len)
| 179 | public static native int maxShort(long pLong, long count); |
| 180 | |
| 181 | public static void memcpy(long dst, long src, long len) { |
| 182 | // the split length was determined experimentally |
| 183 | // using 'MemCopyBenchmark' bench |
| 184 | if (len < 4096) { |
| 185 | Unsafe.copyMemory(src, dst, len); |
| 186 | } else { |
| 187 | memcpy0(src, dst, len); |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | public static boolean memeq(long a, long b, long len) { |
| 192 | // the split length was determined experimentally |