Fri, 05 Sep 2014 12:36:37 -0700
8057623: add an extension class for argument handling
Reviewed-by: brutisso, mgerdin, tschatzl
twisti@4318 | 1 | /* |
twisti@4318 | 2 | * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
twisti@4318 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
twisti@4318 | 4 | * |
twisti@4318 | 5 | * This code is free software; you can redistribute it and/or modify it |
twisti@4318 | 6 | * under the terms of the GNU General Public License version 2 only, as |
twisti@4318 | 7 | * published by the Free Software Foundation. |
twisti@4318 | 8 | * |
twisti@4318 | 9 | * This code is distributed in the hope that it will be useful, but WITHOUT |
twisti@4318 | 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
twisti@4318 | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
twisti@4318 | 12 | * version 2 for more details (a copy is included in the LICENSE file that |
twisti@4318 | 13 | * accompanied this code). |
twisti@4318 | 14 | * |
twisti@4318 | 15 | * You should have received a copy of the GNU General Public License version |
twisti@4318 | 16 | * 2 along with this work; if not, write to the Free Software Foundation, |
twisti@4318 | 17 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
twisti@4318 | 18 | * |
twisti@4318 | 19 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
twisti@4318 | 20 | * or visit www.oracle.com if you need additional information or have any |
twisti@4318 | 21 | * questions. |
twisti@4318 | 22 | * |
twisti@4318 | 23 | */ |
twisti@4318 | 24 | |
twisti@4318 | 25 | #ifndef SHARE_VM_RUNTIME_ATOMIC_INLINE_HPP |
twisti@4318 | 26 | #define SHARE_VM_RUNTIME_ATOMIC_INLINE_HPP |
twisti@4318 | 27 | |
twisti@4318 | 28 | #include "runtime/atomic.hpp" |
twisti@4318 | 29 | |
twisti@4318 | 30 | // Linux |
twisti@4318 | 31 | #ifdef TARGET_OS_ARCH_linux_x86 |
twisti@4318 | 32 | # include "atomic_linux_x86.inline.hpp" |
twisti@4318 | 33 | #endif |
twisti@4318 | 34 | #ifdef TARGET_OS_ARCH_linux_sparc |
twisti@4318 | 35 | # include "atomic_linux_sparc.inline.hpp" |
twisti@4318 | 36 | #endif |
twisti@4318 | 37 | #ifdef TARGET_OS_ARCH_linux_zero |
twisti@4318 | 38 | # include "atomic_linux_zero.inline.hpp" |
twisti@4318 | 39 | #endif |
twisti@4318 | 40 | #ifdef TARGET_OS_ARCH_linux_arm |
twisti@4318 | 41 | # include "atomic_linux_arm.inline.hpp" |
twisti@4318 | 42 | #endif |
twisti@4318 | 43 | #ifdef TARGET_OS_ARCH_linux_ppc |
twisti@4318 | 44 | # include "atomic_linux_ppc.inline.hpp" |
twisti@4318 | 45 | #endif |
twisti@4318 | 46 | |
twisti@4318 | 47 | // Solaris |
twisti@4318 | 48 | #ifdef TARGET_OS_ARCH_solaris_x86 |
twisti@4318 | 49 | # include "atomic_solaris_x86.inline.hpp" |
twisti@4318 | 50 | #endif |
twisti@4318 | 51 | #ifdef TARGET_OS_ARCH_solaris_sparc |
twisti@4318 | 52 | # include "atomic_solaris_sparc.inline.hpp" |
twisti@4318 | 53 | #endif |
twisti@4318 | 54 | |
twisti@4318 | 55 | // Windows |
twisti@4318 | 56 | #ifdef TARGET_OS_ARCH_windows_x86 |
twisti@4318 | 57 | # include "atomic_windows_x86.inline.hpp" |
twisti@4318 | 58 | #endif |
twisti@4318 | 59 | |
goetz@6461 | 60 | // AIX |
goetz@6461 | 61 | #ifdef TARGET_OS_ARCH_aix_ppc |
goetz@6461 | 62 | # include "atomic_aix_ppc.inline.hpp" |
goetz@6461 | 63 | #endif |
goetz@6461 | 64 | |
twisti@4318 | 65 | // BSD |
twisti@4318 | 66 | #ifdef TARGET_OS_ARCH_bsd_x86 |
twisti@4318 | 67 | # include "atomic_bsd_x86.inline.hpp" |
twisti@4318 | 68 | #endif |
twisti@4318 | 69 | #ifdef TARGET_OS_ARCH_bsd_zero |
twisti@4318 | 70 | # include "atomic_bsd_zero.inline.hpp" |
twisti@4318 | 71 | #endif |
twisti@4318 | 72 | |
twisti@4318 | 73 | #endif // SHARE_VM_RUNTIME_ATOMIC_INLINE_HPP |