src/os_cpu/solaris_x86/vm/os_solaris_x86.inline.hpp

Thu, 16 Feb 2012 17:12:49 -0800

author
kvn
date
Thu, 16 Feb 2012 17:12:49 -0800
changeset 3577
9b8ce46870df
parent 3378
7ab5f6318694
child 4153
b9a9ed0f8eeb
permissions
-rw-r--r--

7145346: VerifyStackAtCalls is broken
Summary: Replace call_epilog() encoding with macroassembler use. Moved duplicated code to x86.ad. Fixed return_addr() definition.
Reviewed-by: never

phh@3378 1 /*
phh@3378 2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
phh@3378 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
phh@3378 4 *
phh@3378 5 * This code is free software; you can redistribute it and/or modify it
phh@3378 6 * under the terms of the GNU General Public License version 2 only, as
phh@3378 7 * published by the Free Software Foundation.
phh@3378 8 *
phh@3378 9 * This code is distributed in the hope that it will be useful, but WITHOUT
phh@3378 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
phh@3378 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
phh@3378 12 * version 2 for more details (a copy is included in the LICENSE file that
phh@3378 13 * accompanied this code).
phh@3378 14 *
phh@3378 15 * You should have received a copy of the GNU General Public License version
phh@3378 16 * 2 along with this work; if not, write to the Free Software Foundation,
phh@3378 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
phh@3378 18 *
phh@3378 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
phh@3378 20 * or visit www.oracle.com if you need additional information or have any
phh@3378 21 * questions.
phh@3378 22 *
phh@3378 23 */
phh@3378 24
phh@3378 25 #ifndef OS_CPU_SOLARIS_X86_VM_OS_SOLARIS_X86_INLINE_HPP
phh@3378 26 #define OS_CPU_SOLARIS_X86_VM_OS_SOLARIS_X86_INLINE_HPP
phh@3378 27
phh@3378 28 #include "runtime/os.hpp"
phh@3378 29
phh@3378 30 inline jlong os::rdtsc() { return _raw_rdtsc(); }
phh@3378 31
phh@3378 32 #endif // OS_CPU_SOLARIS_X86_VM_OS_SOLARIS_X86_INLINE_HPP

mercurial