Mercurial > hg > graal-compiler
comparison src/share/vm/utilities/preserveException.hpp @ 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 | f08d439fab8c |
children |
comparison
equal
deleted
inserted
replaced
7179:d0aa87f04bd5 | 7180:f34d701e952e |
---|---|
24 | 24 |
25 #ifndef SHARE_VM_UTILITIES_PRESERVEEXCEPTION_HPP | 25 #ifndef SHARE_VM_UTILITIES_PRESERVEEXCEPTION_HPP |
26 #define SHARE_VM_UTILITIES_PRESERVEEXCEPTION_HPP | 26 #define SHARE_VM_UTILITIES_PRESERVEEXCEPTION_HPP |
27 | 27 |
28 #include "runtime/handles.hpp" | 28 #include "runtime/handles.hpp" |
29 #ifdef TARGET_OS_FAMILY_linux | 29 #include "runtime/thread.inline.hpp" |
30 # include "thread_linux.inline.hpp" | |
31 #endif | |
32 #ifdef TARGET_OS_FAMILY_solaris | |
33 # include "thread_solaris.inline.hpp" | |
34 #endif | |
35 #ifdef TARGET_OS_FAMILY_windows | |
36 # include "thread_windows.inline.hpp" | |
37 #endif | |
38 #ifdef TARGET_OS_FAMILY_bsd | |
39 # include "thread_bsd.inline.hpp" | |
40 #endif | |
41 | 30 |
42 // This file provides more support for exception handling; see also exceptions.hpp | 31 // This file provides more support for exception handling; see also exceptions.hpp |
43 class PreserveExceptionMark { | 32 class PreserveExceptionMark { |
44 private: | 33 private: |
45 Thread* _thread; | 34 Thread* _thread; |