comparison src/hotspot/os_cpu/solaris_x86/orderAccess_solaris_x86.hpp @ 54526:ee29b516a36a

revert changes
author jlaskey
date Wed, 23 Jan 2019 16:09:20 -0400
parents 83aec1d357d4
children 846bc643f4ef
comparison
equal deleted inserted replaced
0:919614b03f6e 1:62898e207941
1 /* 1 /*
2 * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2003, 2019, 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.
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */ 23 */
24 24
25 #ifndef OS_CPU_SOLARIS_X86_VM_ORDERACCESS_SOLARIS_X86_HPP 25 #ifndef OS_CPU_SOLARIS_X86_ORDERACCESS_SOLARIS_X86_HPP
26 #define OS_CPU_SOLARIS_X86_VM_ORDERACCESS_SOLARIS_X86_HPP 26 #define OS_CPU_SOLARIS_X86_ORDERACCESS_SOLARIS_X86_HPP
27 27
28 // Included in orderAccess.hpp header file. 28 // Included in orderAccess.hpp header file.
29 29
30 // Compiler version last used for testing: solaris studio 12u3 30 // Compiler version last used for testing: solaris studio 12u3
31 // Please update this information when this file changes 31 // Please update this information when this file changes
52 __asm__ volatile ("lock; addl $0,0(%%esp)" : : : "cc", "memory"); 52 __asm__ volatile ("lock; addl $0,0(%%esp)" : : : "cc", "memory");
53 #endif 53 #endif
54 compiler_barrier(); 54 compiler_barrier();
55 } 55 }
56 56
57 #endif // OS_CPU_SOLARIS_X86_VM_ORDERACCESS_SOLARIS_X86_HPP 57 #endif // OS_CPU_SOLARIS_X86_ORDERACCESS_SOLARIS_X86_HPP