src/hotspot/cpu/s390/copy_s390.hpp
changeset 48956 400f4d17a3c6
parent 48951 950c35ea6237
child 53244 9807daeb47c4
--- a/src/hotspot/cpu/s390/copy_s390.hpp	Sun Feb 11 03:12:15 2018 -0500
+++ b/src/hotspot/cpu/s390/copy_s390.hpp	Mon Feb 12 15:29:35 2018 +0100
@@ -740,13 +740,13 @@
 #endif
 }
 
-static void pd_disjoint_words_atomic(HeapWord* from, HeapWord* to, size_t count) {
+static void pd_disjoint_words_atomic(const HeapWord* from, HeapWord* to, size_t count) {
   // JVM2008: < 4k calls.
   assert(((((size_t)from) & 0x07L) | (((size_t)to) & 0x07L)) == 0, "No atomic copy w/o aligned data");
   pd_aligned_disjoint_words(from, to, count); // Rare calls -> just delegate.
 }
 
-static void pd_disjoint_words(HeapWord* from, HeapWord* to, size_t count) {
+static void pd_disjoint_words(const HeapWord* from, HeapWord* to, size_t count) {
   // JVM2008: very rare.
   pd_aligned_disjoint_words(from, to, count); // Rare calls -> just delegate.
 }