equal
deleted
inserted
replaced
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/_sweeper.cpp.incl" |
26 #include "code/codeCache.hpp" |
|
27 #include "code/nmethod.hpp" |
|
28 #include "compiler/compileBroker.hpp" |
|
29 #include "memory/resourceArea.hpp" |
|
30 #include "oops/methodOop.hpp" |
|
31 #include "runtime/atomic.hpp" |
|
32 #include "runtime/compilationPolicy.hpp" |
|
33 #include "runtime/mutexLocker.hpp" |
|
34 #include "runtime/os.hpp" |
|
35 #include "runtime/sweeper.hpp" |
|
36 #include "runtime/vm_operations.hpp" |
|
37 #include "utilities/events.hpp" |
|
38 #include "utilities/xmlstream.hpp" |
27 |
39 |
28 long NMethodSweeper::_traversals = 0; // No. of stack traversals performed |
40 long NMethodSweeper::_traversals = 0; // No. of stack traversals performed |
29 nmethod* NMethodSweeper::_current = NULL; // Current nmethod |
41 nmethod* NMethodSweeper::_current = NULL; // Current nmethod |
30 int NMethodSweeper::_seen = 0 ; // No. of nmethods we have currently processed in current pass of CodeCache |
42 int NMethodSweeper::_seen = 0 ; // No. of nmethods we have currently processed in current pass of CodeCache |
31 |
43 |