Mercurial > hg > truffle
diff src/share/vm/runtime/javaCalls.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | c18cbe5936b8 |
children | 06f017f7daa7 3582bf76420e |
line wrap: on
line diff
--- a/src/share/vm/runtime/javaCalls.hpp Tue Nov 23 15:01:43 2010 -0500 +++ b/src/share/vm/runtime/javaCalls.hpp Tue Nov 23 13:22:55 2010 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -22,6 +22,33 @@ * */ +#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. @@ -189,3 +216,5 @@ // Low-level interface static void call(JavaValue* result, methodHandle method, JavaCallArguments* args, TRAPS); }; + +#endif // SHARE_VM_RUNTIME_JAVACALLS_HPP