--- old/src/share/vm/runtime/sweeper.hpp 2013-02-14 13:08:42.097458400 +0100 +++ new/src/share/vm/runtime/sweeper.hpp 2013-02-14 13:08:41.832257900 +0100 @@ -54,28 +54,28 @@ 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 int _number_of_flushes; // Total of full traversals caused by full cache + static int _total_nof_methods_reclaimed; // Accumulated nof methods flushed + 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 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 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