src/hotspot/share/runtime/sweeper.cpp
changeset 53091 5bf5b773fc41
parent 53085 4384060a7ca5
child 53651 0331b08811ad
equal deleted inserted replaced
53090:759266b1c89b 53091:5bf5b773fc41
   147 long     NMethodSweeper::_total_nof_code_cache_sweeps  = 0;    // Total number of full sweeps of the code cache
   147 long     NMethodSweeper::_total_nof_code_cache_sweeps  = 0;    // Total number of full sweeps of the code cache
   148 long     NMethodSweeper::_time_counter                 = 0;    // Virtual time used to periodically invoke sweeper
   148 long     NMethodSweeper::_time_counter                 = 0;    // Virtual time used to periodically invoke sweeper
   149 long     NMethodSweeper::_last_sweep                   = 0;    // Value of _time_counter when the last sweep happened
   149 long     NMethodSweeper::_last_sweep                   = 0;    // Value of _time_counter when the last sweep happened
   150 int      NMethodSweeper::_seen                         = 0;    // Nof. nmethod we have currently processed in current pass of CodeCache
   150 int      NMethodSweeper::_seen                         = 0;    // Nof. nmethod we have currently processed in current pass of CodeCache
   151 
   151 
   152 volatile bool NMethodSweeper::_should_sweep            = true; // Indicates if we should invoke the sweeper
   152 volatile bool NMethodSweeper::_should_sweep            = false;// Indicates if we should invoke the sweeper
   153 volatile bool NMethodSweeper::_force_sweep             = false;// Indicates if we should force a sweep
   153 volatile bool NMethodSweeper::_force_sweep             = false;// Indicates if we should force a sweep
   154 volatile int  NMethodSweeper::_bytes_changed           = 0;    // Counts the total nmethod size if the nmethod changed from:
   154 volatile int  NMethodSweeper::_bytes_changed           = 0;    // Counts the total nmethod size if the nmethod changed from:
   155                                                                //   1) alive       -> not_entrant
   155                                                                //   1) alive       -> not_entrant
   156                                                                //   2) not_entrant -> zombie
   156                                                                //   2) not_entrant -> zombie
   157 int    NMethodSweeper::_hotness_counter_reset_val       = 0;
   157 int    NMethodSweeper::_hotness_counter_reset_val       = 0;