comparison src/share/vm/prims/jni.cpp @ 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 126ea7725993
children 828eafbd85cc
comparison
equal deleted inserted replaced
1971:e33f46fc48ed 1972:f95d63e2154a
1 /* 1 /*
2 * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2010, 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 # include "incls/_precompiled.incl" 25 #include "precompiled.hpp"
26 # include "incls/_jni.cpp.incl" 26 #include "classfile/classLoader.hpp"
27 #include "classfile/javaClasses.hpp"
28 #include "classfile/symbolTable.hpp"
29 #include "classfile/systemDictionary.hpp"
30 #include "classfile/vmSymbols.hpp"
31 #include "interpreter/linkResolver.hpp"
32 #include "memory/allocation.inline.hpp"
33 #include "memory/gcLocker.inline.hpp"
34 #include "memory/oopFactory.hpp"
35 #include "memory/universe.inline.hpp"
36 #include "oops/instanceKlass.hpp"
37 #include "oops/instanceOop.hpp"
38 #include "oops/markOop.hpp"
39 #include "oops/methodOop.hpp"
40 #include "oops/objArrayKlass.hpp"
41 #include "oops/objArrayOop.hpp"
42 #include "oops/oop.inline.hpp"
43 #include "oops/symbolOop.hpp"
44 #include "oops/typeArrayKlass.hpp"
45 #include "oops/typeArrayOop.hpp"
46 #include "prims/jni.h"
47 #include "prims/jniCheck.hpp"
48 #include "prims/jniFastGetField.hpp"
49 #include "prims/jvm.h"
50 #include "prims/jvm_misc.hpp"
51 #include "prims/jvmtiExport.hpp"
52 #include "prims/jvmtiThreadState.hpp"
53 #include "runtime/compilationPolicy.hpp"
54 #include "runtime/fieldDescriptor.hpp"
55 #include "runtime/fprofiler.hpp"
56 #include "runtime/handles.inline.hpp"
57 #include "runtime/interfaceSupport.hpp"
58 #include "runtime/java.hpp"
59 #include "runtime/javaCalls.hpp"
60 #include "runtime/jfieldIDWorkaround.hpp"
61 #include "runtime/reflection.hpp"
62 #include "runtime/sharedRuntime.hpp"
63 #include "runtime/signature.hpp"
64 #include "runtime/vm_operations.hpp"
65 #include "services/runtimeService.hpp"
66 #include "utilities/defaultStream.hpp"
67 #include "utilities/dtrace.hpp"
68 #include "utilities/events.hpp"
69 #include "utilities/histogram.hpp"
70 #ifdef TARGET_ARCH_x86
71 # include "jniTypes_x86.hpp"
72 #endif
73 #ifdef TARGET_ARCH_sparc
74 # include "jniTypes_sparc.hpp"
75 #endif
76 #ifdef TARGET_ARCH_zero
77 # include "jniTypes_zero.hpp"
78 #endif
79 #ifdef TARGET_OS_FAMILY_linux
80 # include "os_linux.inline.hpp"
81 # include "thread_linux.inline.hpp"
82 #endif
83 #ifdef TARGET_OS_FAMILY_solaris
84 # include "os_solaris.inline.hpp"
85 # include "thread_solaris.inline.hpp"
86 #endif
87 #ifdef TARGET_OS_FAMILY_windows
88 # include "os_windows.inline.hpp"
89 # include "thread_windows.inline.hpp"
90 #endif
27 91
28 static jint CurrentVersion = JNI_VERSION_1_6; 92 static jint CurrentVersion = JNI_VERSION_1_6;
29 93
30 94
31 // The DT_RETURN_MARK macros create a scoped object to fire the dtrace 95 // The DT_RETURN_MARK macros create a scoped object to fire the dtrace