Mercurial > hg > truffle
comparison src/share/vm/runtime/sweeper.hpp @ 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 | 2a47bd84841f |
children | f52ed367b66d |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
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 | |
25 #ifndef SHARE_VM_RUNTIME_SWEEPER_HPP | |
26 #define SHARE_VM_RUNTIME_SWEEPER_HPP | |
24 | 27 |
25 // An NmethodSweeper is an incremental cleaner for: | 28 // An NmethodSweeper is an incremental cleaner for: |
26 // - cleanup inline caches | 29 // - cleanup inline caches |
27 // - reclamation of unreferences zombie nmethods | 30 // - reclamation of unreferences zombie nmethods |
28 // | 31 // |
69 static void speculative_disconnect_nmethods(bool was_full); // Called by vm op to deal with alloc failure | 72 static void speculative_disconnect_nmethods(bool was_full); // Called by vm op to deal with alloc failure |
70 | 73 |
71 static void set_was_full(bool state) { _was_full = state; } | 74 static void set_was_full(bool state) { _was_full = state; } |
72 static bool was_full() { return _was_full; } | 75 static bool was_full() { return _was_full; } |
73 }; | 76 }; |
77 | |
78 #endif // SHARE_VM_RUNTIME_SWEEPER_HPP |