< prev index next >

src/hotspot/share/gc/shared/referenceProcessor.hpp

Print this page

200 
201   BoolObjectClosure* _is_subject_to_discovery; // determines whether a given oop is subject
202                                                // to this ReferenceProcessor's discovery
203                                                // (and further processing).
204 
205   bool        _discovering_refs;        // true when discovery enabled
206   bool        _discovery_is_atomic;     // if discovery is atomic wrt
207                                         // other collectors in configuration
208   bool        _discovery_is_mt;         // true if reference discovery is MT.
209 
210   bool        _enqueuing_is_done;       // true if all weak references enqueued
211   bool        _processing_is_mt;        // true during phases when
212                                         // reference processing is MT.
213   uint        _next_id;                 // round-robin mod _num_queues counter in
214                                         // support of work distribution
215 
216   bool        _adjust_no_of_processing_threads; // allow dynamic adjustment of processing threads
217   // For collectors that do not keep GC liveness information
218   // in the object header, this field holds a closure that
219   // helps the reference processor determine the reachability
220   // of an oop. It is currently initialized to NULL for all
221   // collectors except for G1.
222   BoolObjectClosure* _is_alive_non_header;
223 
224   // Soft ref clearing policies
225   // . the default policy
226   static ReferencePolicy*   _default_soft_ref_policy;
227   // . the "clear all" policy
228   static ReferencePolicy*   _always_clear_soft_ref_policy;
229   // . the current policy below is either one of the above
230   ReferencePolicy*          _current_soft_ref_policy;
231 
232   // The discovered ref lists themselves
233 
234   // The active MT'ness degree of the queues below
235   uint            _num_queues;
236   // The maximum MT'ness degree of the queues below
237   uint            _max_num_queues;
238 
239   // Master array of discovered oops
240   DiscoveredList* _discovered_refs;
241 

200 
201   BoolObjectClosure* _is_subject_to_discovery; // determines whether a given oop is subject
202                                                // to this ReferenceProcessor's discovery
203                                                // (and further processing).
204 
205   bool        _discovering_refs;        // true when discovery enabled
206   bool        _discovery_is_atomic;     // if discovery is atomic wrt
207                                         // other collectors in configuration
208   bool        _discovery_is_mt;         // true if reference discovery is MT.
209 
210   bool        _enqueuing_is_done;       // true if all weak references enqueued
211   bool        _processing_is_mt;        // true during phases when
212                                         // reference processing is MT.
213   uint        _next_id;                 // round-robin mod _num_queues counter in
214                                         // support of work distribution
215 
216   bool        _adjust_no_of_processing_threads; // allow dynamic adjustment of processing threads
217   // For collectors that do not keep GC liveness information
218   // in the object header, this field holds a closure that
219   // helps the reference processor determine the reachability
220   // of an oop.

221   BoolObjectClosure* _is_alive_non_header;
222 
223   // Soft ref clearing policies
224   // . the default policy
225   static ReferencePolicy*   _default_soft_ref_policy;
226   // . the "clear all" policy
227   static ReferencePolicy*   _always_clear_soft_ref_policy;
228   // . the current policy below is either one of the above
229   ReferencePolicy*          _current_soft_ref_policy;
230 
231   // The discovered ref lists themselves
232 
233   // The active MT'ness degree of the queues below
234   uint            _num_queues;
235   // The maximum MT'ness degree of the queues below
236   uint            _max_num_queues;
237 
238   // Master array of discovered oops
239   DiscoveredList* _discovered_refs;
240 
< prev index next >