src/share/vm/runtime/sweeper.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/runtime/sweeper.hpp	Wed Oct  9 15:17:18 2013
--- new/src/share/vm/runtime/sweeper.hpp	Wed Oct  9 15:17:17 2013

*** 52,62 **** --- 52,63 ---- // compilations or at least each 5 sec (NmethodSweepCheckInterval) when the code cache // is full. class NMethodSweeper : public AllStatic { static long _traversals; // Stack scan count, also sweep ID. ! static nmethod* _current; // Current nmethod ! static nmethod* _current_nmethod; // Current nmethod + static int _current_type; // Current CodeBlobType static int _seen; // Nof. nmethod we have currently processed in current pass of CodeCache static int _flushed_count; // Nof. nmethods flushed in current sweep static int _zombified_count; // Nof. nmethods made zombie in current sweep static int _marked_count; // Nof. nmethods marked for reclaim in current sweep
*** 74,84 **** --- 75,85 ---- 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 int process_nmethod(nmethod *nm, int code_blob_type); static void release_nmethod(nmethod* nm); static bool sweep_in_progress(); static void sweep_code_cache(); static void request_nmethod_marking() { _request_mark_phase = true; }
*** 95,105 **** --- 96,106 ---- static jlong peak_sweep_fraction_time() { return _peak_sweep_fraction_time; } static void log_sweep(const char* msg, const char* format = NULL, ...); #ifdef ASSERT ! static bool is_sweeping(nmethod* which) { return _current_nmethod == which; } // 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); static void report_events(); #endif

src/share/vm/runtime/sweeper.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File