hotspot/src/os_cpu/solaris_sparc/vm/atomic_solaris_sparc.inline.hpp
changeset 25715 d5a8dbdc5150
parent 18097 acd70736bd60
child 39404 d0ad5220e91c
equal deleted inserted replaced
25469:3bcfa1db9717 25715:d5a8dbdc5150
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    25 #ifndef OS_CPU_SOLARIS_SPARC_VM_ATOMIC_SOLARIS_SPARC_INLINE_HPP
    25 #ifndef OS_CPU_SOLARIS_SPARC_VM_ATOMIC_SOLARIS_SPARC_INLINE_HPP
    26 #define OS_CPU_SOLARIS_SPARC_VM_ATOMIC_SOLARIS_SPARC_INLINE_HPP
    26 #define OS_CPU_SOLARIS_SPARC_VM_ATOMIC_SOLARIS_SPARC_INLINE_HPP
    27 
    27 
    28 #include "runtime/atomic.hpp"
    28 #include "runtime/atomic.hpp"
    29 #include "runtime/os.hpp"
    29 #include "runtime/os.hpp"
    30 #include "vm_version_sparc.hpp"
       
    31 
    30 
    32 // Implementation of class atomic
    31 // Implementation of class atomic
    33 
    32 
    34 inline void Atomic::store    (jbyte    store_value, jbyte*    dest) { *dest = store_value; }
    33 inline void Atomic::store    (jbyte    store_value, jbyte*    dest) { *dest = store_value; }
    35 inline void Atomic::store    (jshort   store_value, jshort*   dest) { *dest = store_value; }
    34 inline void Atomic::store    (jshort   store_value, jshort*   dest) { *dest = store_value; }