< prev index next >

src/os_cpu/linux_aarch64/vm/os_linux_aarch64.hpp

Print this page
rev 13032 : [mq]: atomic_copy64

*** 1,7 **** /* ! * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2014, Red Hat Inc. 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 --- 1,7 ---- /* ! * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2014, Red Hat Inc. 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
*** 36,45 **** // Used to register dynamic code cache area with the OS // Note: Currently only used in 64 bit Windows implementations static bool register_code_area(char *low, char *high) { return true; } // Atomically copy 64 bits of data ! static void atomic_copy64(volatile void *src, volatile void *dst) { ! *(jlong *) dst = *(jlong *) src; } #endif // OS_CPU_LINUX_AARCH64_VM_OS_LINUX_AARCH64_HPP --- 36,45 ---- // Used to register dynamic code cache area with the OS // Note: Currently only used in 64 bit Windows implementations static bool register_code_area(char *low, char *high) { return true; } // Atomically copy 64 bits of data ! static void atomic_copy64(const volatile void *src, volatile void *dst) { ! *(jlong *) dst = *(const jlong *) src; } #endif // OS_CPU_LINUX_AARCH64_VM_OS_LINUX_AARCH64_HPP
< prev index next >