Mercurial > hg > truffle
comparison src/share/vm/runtime/safepoint.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 | ce6848d0666d |
children | 3582bf76420e |
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/_safepoint.cpp.incl" | 26 #include "classfile/systemDictionary.hpp" |
27 #include "code/codeCache.hpp" | |
28 #include "code/icBuffer.hpp" | |
29 #include "code/nmethod.hpp" | |
30 #include "code/pcDesc.hpp" | |
31 #include "code/scopeDesc.hpp" | |
32 #include "gc_interface/collectedHeap.hpp" | |
33 #include "interpreter/interpreter.hpp" | |
34 #include "memory/resourceArea.hpp" | |
35 #include "memory/universe.inline.hpp" | |
36 #include "oops/oop.inline.hpp" | |
37 #include "oops/symbolOop.hpp" | |
38 #include "runtime/compilationPolicy.hpp" | |
39 #include "runtime/deoptimization.hpp" | |
40 #include "runtime/frame.inline.hpp" | |
41 #include "runtime/interfaceSupport.hpp" | |
42 #include "runtime/mutexLocker.hpp" | |
43 #include "runtime/osThread.hpp" | |
44 #include "runtime/safepoint.hpp" | |
45 #include "runtime/signature.hpp" | |
46 #include "runtime/stubCodeGenerator.hpp" | |
47 #include "runtime/stubRoutines.hpp" | |
48 #include "runtime/sweeper.hpp" | |
49 #include "runtime/synchronizer.hpp" | |
50 #include "services/runtimeService.hpp" | |
51 #include "utilities/events.hpp" | |
52 #ifdef TARGET_ARCH_x86 | |
53 # include "nativeInst_x86.hpp" | |
54 # include "vmreg_x86.inline.hpp" | |
55 #endif | |
56 #ifdef TARGET_ARCH_sparc | |
57 # include "nativeInst_sparc.hpp" | |
58 # include "vmreg_sparc.inline.hpp" | |
59 #endif | |
60 #ifdef TARGET_ARCH_zero | |
61 # include "nativeInst_zero.hpp" | |
62 # include "vmreg_zero.inline.hpp" | |
63 #endif | |
64 #ifdef TARGET_OS_FAMILY_linux | |
65 # include "thread_linux.inline.hpp" | |
66 #endif | |
67 #ifdef TARGET_OS_FAMILY_solaris | |
68 # include "thread_solaris.inline.hpp" | |
69 #endif | |
70 #ifdef TARGET_OS_FAMILY_windows | |
71 # include "thread_windows.inline.hpp" | |
72 #endif | |
73 #ifndef SERIALGC | |
74 #include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp" | |
75 #include "gc_implementation/shared/concurrentGCThread.hpp" | |
76 #endif | |
77 #ifdef COMPILER1 | |
78 #include "c1/c1_globals.hpp" | |
79 #endif | |
27 | 80 |
28 // -------------------------------------------------------------------------------------------------- | 81 // -------------------------------------------------------------------------------------------------- |
29 // Implementation of Safepoint begin/end | 82 // Implementation of Safepoint begin/end |
30 | 83 |
31 SafepointSynchronize::SynchronizeState volatile SafepointSynchronize::_state = SafepointSynchronize::_not_synchronized; | 84 SafepointSynchronize::SynchronizeState volatile SafepointSynchronize::_state = SafepointSynchronize::_not_synchronized; |