--- old/src/os_cpu/linux_arm/vm/atomic_linux_arm.hpp 2017-05-26 18:30:49.390290883 -0400 +++ new/src/os_cpu/linux_arm/vm/atomic_linux_arm.hpp 2017-05-26 18:30:49.274285153 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -56,7 +56,7 @@ inline void Atomic::store_ptr(intptr_t store_value, volatile intptr_t* dest) { *dest = store_value; } inline void Atomic::store_ptr(void* store_value, volatile void* dest) { *(void* volatile *)dest = store_value; } -inline jlong Atomic::load (volatile jlong* src) { +inline jlong Atomic::load (const volatile jlong* src) { assert(((intx)src & (sizeof(jlong)-1)) == 0, "Atomic load jlong mis-aligned"); #ifdef AARCH64 return *src;