1.1 --- a/src/share/vm/runtime/osThread.hpp Tue Nov 23 15:01:43 2010 -0500 1.2 +++ b/src/share/vm/runtime/osThread.hpp Tue Nov 23 13:22:55 2010 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -22,6 +22,16 @@ 1.11 * 1.12 */ 1.13 1.14 +#ifndef SHARE_VM_RUNTIME_OSTHREAD_HPP 1.15 +#define SHARE_VM_RUNTIME_OSTHREAD_HPP 1.16 + 1.17 +#include "runtime/frame.hpp" 1.18 +#include "runtime/handles.hpp" 1.19 +#include "runtime/hpi.hpp" 1.20 +#include "runtime/javaFrameAnchor.hpp" 1.21 +#include "runtime/objectMonitor.hpp" 1.22 +#include "utilities/top.hpp" 1.23 + 1.24 // The OSThread class holds OS-specific thread information. It is equivalent 1.25 // to the sys_thread_t structure of the classic JVM implementation. 1.26 1.27 @@ -91,7 +101,16 @@ 1.28 static ByteSize interrupted_offset() { return byte_offset_of(OSThread, _interrupted); } 1.29 1.30 // Platform dependent stuff 1.31 - #include "incls/_osThread_pd.hpp.incl" 1.32 +#ifdef TARGET_OS_FAMILY_linux 1.33 +# include "osThread_linux.hpp" 1.34 +#endif 1.35 +#ifdef TARGET_OS_FAMILY_solaris 1.36 +# include "osThread_solaris.hpp" 1.37 +#endif 1.38 +#ifdef TARGET_OS_FAMILY_windows 1.39 +# include "osThread_windows.hpp" 1.40 +#endif 1.41 + 1.42 }; 1.43 1.44 1.45 @@ -129,3 +148,5 @@ 1.46 _osthread->set_state(_old_state); 1.47 } 1.48 }; 1.49 + 1.50 +#endif // SHARE_VM_RUNTIME_OSTHREAD_HPP