< prev index next >

src/os_cpu/linux_arm/vm/os_linux_arm.hpp

Print this page
rev 13030 : [mq]: add_const

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2008, 2015, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -47,11 +47,11 @@
 #ifndef AARCH64
   static jlong (*atomic_cmpxchg_long_func)(jlong compare_value,
                                            jlong exchange_value,
                                            volatile jlong *dest);
 
-  static jlong (*atomic_load_long_func)(volatile jlong*);
+  static jlong (*atomic_load_long_func)(const volatile jlong*);
 
   static void (*atomic_store_long_func)(jlong, volatile jlong*);
 
   static jint  (*atomic_add_func)(jint add_value, volatile jint *dest);
 

@@ -61,11 +61,11 @@
                                       jint exchange_value,
                                       volatile jint *dest);
 
   static jlong atomic_cmpxchg_long_bootstrap(jlong, jlong, volatile jlong*);
 
-  static jlong atomic_load_long_bootstrap(volatile jlong*);
+  static jlong atomic_load_long_bootstrap(const volatile jlong*);
 
   static void atomic_store_long_bootstrap(jlong, volatile jlong*);
 
   static jint  atomic_add_bootstrap(jint add_value, volatile jint *dest);
 
< prev index next >