Mercurial > hg > truffle
comparison src/share/vm/runtime/sweeper.hpp @ 1615:ff38d05ea86f
6956958: assert(is_clean() || is_call_to_compiled() || is_call_to_interpreted() || is_optimized() || is_megam
Reviewed-by: kvn
author | never |
---|---|
date | Fri, 18 Jun 2010 16:51:54 -0700 |
parents | c18cbe5936b8 |
children | 2a47bd84841f |
comparison
equal
deleted
inserted
replaced
1609:4311f23817fd | 1615:ff38d05ea86f |
---|---|
27 // - reclamation of unreferences zombie nmethods | 27 // - reclamation of unreferences zombie nmethods |
28 // | 28 // |
29 | 29 |
30 class NMethodSweeper : public AllStatic { | 30 class NMethodSweeper : public AllStatic { |
31 static long _traversals; // Stack traversal count | 31 static long _traversals; // Stack traversal count |
32 static CodeBlob* _current; // Current nmethod | 32 static nmethod* _current; // Current nmethod |
33 static int _seen; // Nof. nmethod we have currently processed in current pass of CodeCache | 33 static int _seen; // Nof. nmethod we have currently processed in current pass of CodeCache |
34 static int _invocations; // No. of invocations left until we are completed with this pass | 34 static int _invocations; // No. of invocations left until we are completed with this pass |
35 | 35 |
36 static bool _rescan; // Indicates that we should do a full rescan of the | 36 static bool _rescan; // Indicates that we should do a full rescan of the |
37 // of the code cache looking for work to do. | 37 // of the code cache looking for work to do. |