src/share/vm/runtime/sweeper.hpp
Print this page
rev 4203 : 8008208: Event tracing for code cache subsystems can give wrong timestamps
Reviewed-by:
@@ -54,30 +54,30 @@
static long _was_full_traversal; // trav number at last emergency unloading
// Stat counters
static int _number_of_flushes; // Total of full traversals caused by full cache
static int _total_nof_methods_reclaimed; // Accumulated nof methods flushed
- static long _total_time_sweeping; // Accumulated time sweeping
- static long _total_time_this_sweep; // Total time this sweep
- static long _peak_sweep_time; // Peak time for a full sweep
- static long _peak_sweep_fraction_time; // Peak time sweeping one fraction
- static long _total_disconnect_time; // Total time cleaning code mem
- static long _peak_disconnect_time; // Peak time cleaning code mem
+ static jlong _total_time_sweeping; // Accumulated time sweeping
+ static jlong _total_time_this_sweep; // Total time this sweep
+ static jlong _peak_sweep_time; // Peak time for a full sweep
+ static jlong _peak_sweep_fraction_time; // Peak time sweeping one fraction
+ static jlong _total_disconnect_time; // Total time cleaning code mem
+ static jlong _peak_disconnect_time; // Peak time cleaning code mem
static void process_nmethod(nmethod *nm);
static void log_sweep(const char* msg, const char* format = NULL, ...);
public:
static long traversal_count() { return _traversals; }
static int number_of_flushes() { return _number_of_flushes; }
static int total_nof_methods_reclaimed() { return _total_nof_methods_reclaimed; }
- static long total_time_sweeping() { return _total_time_sweeping; }
- static long peak_sweep_time() { return _peak_sweep_time; }
- static long peak_sweep_fraction_time() { return _peak_sweep_fraction_time; }
- static long total_disconnect_time() { return _total_disconnect_time; }
- static long peak_disconnect_time() { return _peak_disconnect_time; }
+ static jlong total_time_sweeping() { return _total_time_sweeping; }
+ static jlong peak_sweep_time() { return _peak_sweep_time; }
+ static jlong peak_sweep_fraction_time() { return _peak_sweep_fraction_time; }
+ static jlong total_disconnect_time() { return _total_disconnect_time; }
+ static jlong peak_disconnect_time() { return _peak_disconnect_time; }
#ifdef ASSERT
// Keep track of sweeper activity in the ring buffer
static void record_sweep(nmethod* nm, int line);
static void report_events(int id, address entry);