Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/javaClasses.cpp @ 7180:f34d701e952e
8003935: Simplify the needed includes for using Thread::current()
Reviewed-by: dholmes, rbackman, coleenp
author | stefank |
---|---|
date | Tue, 27 Nov 2012 14:20:21 +0100 |
parents | 80e866b1d053 |
children | 90273fc0a981 |
comparison
equal
deleted
inserted
replaced
7179:d0aa87f04bd5 | 7180:f34d701e952e |
---|---|
45 #include "runtime/handles.inline.hpp" | 45 #include "runtime/handles.inline.hpp" |
46 #include "runtime/interfaceSupport.hpp" | 46 #include "runtime/interfaceSupport.hpp" |
47 #include "runtime/java.hpp" | 47 #include "runtime/java.hpp" |
48 #include "runtime/javaCalls.hpp" | 48 #include "runtime/javaCalls.hpp" |
49 #include "runtime/safepoint.hpp" | 49 #include "runtime/safepoint.hpp" |
50 #include "runtime/thread.inline.hpp" | |
50 #include "runtime/vframe.hpp" | 51 #include "runtime/vframe.hpp" |
51 #include "utilities/preserveException.hpp" | 52 #include "utilities/preserveException.hpp" |
52 #ifdef TARGET_OS_FAMILY_linux | |
53 # include "thread_linux.inline.hpp" | |
54 #endif | |
55 #ifdef TARGET_OS_FAMILY_solaris | |
56 # include "thread_solaris.inline.hpp" | |
57 #endif | |
58 #ifdef TARGET_OS_FAMILY_windows | |
59 # include "thread_windows.inline.hpp" | |
60 #endif | |
61 #ifdef TARGET_OS_FAMILY_bsd | |
62 # include "thread_bsd.inline.hpp" | |
63 #endif | |
64 | 53 |
65 #define INJECTED_FIELD_COMPUTE_OFFSET(klass, name, signature, may_be_java) \ | 54 #define INJECTED_FIELD_COMPUTE_OFFSET(klass, name, signature, may_be_java) \ |
66 klass::_##name##_offset = JavaClasses::compute_injected_offset(JavaClasses::klass##_##name##_enum); | 55 klass::_##name##_offset = JavaClasses::compute_injected_offset(JavaClasses::klass##_##name##_enum); |
67 | 56 |
68 #define DECLARE_INJECTED_FIELD(klass, name, signature, may_be_java) \ | 57 #define DECLARE_INJECTED_FIELD(klass, name, signature, may_be_java) \ |