src/share/vm/runtime/javaCalls.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 20,29 **** --- 20,56 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_RUNTIME_JAVACALLS_HPP + #define SHARE_VM_RUNTIME_JAVACALLS_HPP + + #include "memory/allocation.hpp" + #include "oops/methodOop.hpp" + #include "runtime/handles.hpp" + #include "runtime/javaFrameAnchor.hpp" + #include "runtime/vmThread.hpp" + #ifdef TARGET_ARCH_x86 + # include "jniTypes_x86.hpp" + #endif + #ifdef TARGET_ARCH_sparc + # include "jniTypes_sparc.hpp" + #endif + #ifdef TARGET_ARCH_zero + # include "jniTypes_zero.hpp" + #endif + #ifdef TARGET_OS_FAMILY_linux + # include "thread_linux.inline.hpp" + #endif + #ifdef TARGET_OS_FAMILY_solaris + # include "thread_solaris.inline.hpp" + #endif + #ifdef TARGET_OS_FAMILY_windows + # include "thread_windows.inline.hpp" + #endif + // A JavaCallWrapper is constructed before each JavaCall and destructed after the call. // Its purpose is to allocate/deallocate a new handle block and to save/restore the last // Java fp/sp. A pointer to the JavaCallWrapper is stored on the stack. class JavaCallWrapper: StackObj {
*** 187,191 **** --- 214,220 ---- static void call_static(JavaValue* result, KlassHandle klass, symbolHandle name, symbolHandle signature, Handle arg1, Handle arg2, TRAPS); // Low-level interface static void call(JavaValue* result, methodHandle method, JavaCallArguments* args, TRAPS); }; + + #endif // SHARE_VM_RUNTIME_JAVACALLS_HPP