# HG changeset patch # User mdoerr # Date 1518445775 -3600 # Node ID 400f4d17a3c6ee25719094b1392d14a6072ee9ec # Parent e22914003cf00780877208601b8324941a95cbf6 8197572: s390 build broken after 8165929 Reviewed-by: coleenp diff -r e22914003cf0 -r 400f4d17a3c6 src/hotspot/cpu/s390/copy_s390.hpp --- 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. }