equal
deleted
inserted
replaced
46 Copy::conjoint_jints_atomic((jint*) src, (jint*) dst, size / sizeof(jint)); |
46 Copy::conjoint_jints_atomic((jint*) src, (jint*) dst, size / sizeof(jint)); |
47 } else if (bits % sizeof(jshort) == 0) { |
47 } else if (bits % sizeof(jshort) == 0) { |
48 Copy::conjoint_jshorts_atomic((jshort*) src, (jshort*) dst, size / sizeof(jshort)); |
48 Copy::conjoint_jshorts_atomic((jshort*) src, (jshort*) dst, size / sizeof(jshort)); |
49 } else { |
49 } else { |
50 // Not aligned, so no need to be atomic. |
50 // Not aligned, so no need to be atomic. |
51 Copy::conjoint_bytes((void*) src, (void*) dst, size); |
51 Copy::conjoint_jbytes((void*) src, (void*) dst, size); |
52 } |
52 } |
53 } |
53 } |
54 |
54 |
55 |
55 |
56 // Fill bytes; larger units are filled atomically if everything is aligned. |
56 // Fill bytes; larger units are filled atomically if everything is aligned. |