src/hotspot/os_cpu/linux_s390/atomic_linux_s390.hpp
changeset 59122 5d73255c2d52
parent 53244 9807daeb47c4
child 59247 56bf71d64d51
equal deleted inserted replaced
59121:7cbffba2156b 59122:5d73255c2d52
     1 /*
     1 /*
     2  * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright (c) 2016, 2018 SAP SE. All rights reserved.
     3  * Copyright (c) 2016, 2019 SAP SE. All rights reserved.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or modify it
     6  * This code is free software; you can redistribute it and/or modify it
     7  * under the terms of the GNU General Public License version 2 only, as
     7  * under the terms of the GNU General Public License version 2 only, as
     8  * published by the Free Software Foundation.
     8  * published by the Free Software Foundation.
    26 #ifndef OS_CPU_LINUX_S390_ATOMIC_LINUX_S390_HPP
    26 #ifndef OS_CPU_LINUX_S390_ATOMIC_LINUX_S390_HPP
    27 #define OS_CPU_LINUX_S390_ATOMIC_LINUX_S390_HPP
    27 #define OS_CPU_LINUX_S390_ATOMIC_LINUX_S390_HPP
    28 
    28 
    29 #include "runtime/atomic.hpp"
    29 #include "runtime/atomic.hpp"
    30 #include "runtime/os.hpp"
    30 #include "runtime/os.hpp"
    31 #include "vm_version_s390.hpp"
    31 #include "runtime/vm_version.hpp"
    32 
    32 
    33 // Note that the compare-and-swap instructions on System z perform
    33 // Note that the compare-and-swap instructions on System z perform
    34 // a serialization function before the storage operand is fetched
    34 // a serialization function before the storage operand is fetched
    35 // and again after the operation is completed.
    35 // and again after the operation is completed.
    36 //
    36 //