src/share/vm/gc_implementation/shared/gcTrace.hpp

changeset 5386
2cbc8f3011a0
parent 5237
f2110083203d
child 6131
86e6d691f2e1
     1.1 --- a/src/share/vm/gc_implementation/shared/gcTrace.hpp	Thu Jul 04 14:56:49 2013 -0700
     1.2 +++ b/src/share/vm/gc_implementation/shared/gcTrace.hpp	Wed Jun 05 09:44:03 2013 +0200
     1.3 @@ -30,7 +30,6 @@
     1.4  #include "gc_implementation/shared/gcWhen.hpp"
     1.5  #include "gc_implementation/shared/copyFailedInfo.hpp"
     1.6  #include "memory/allocation.hpp"
     1.7 -#include "memory/klassInfoClosure.hpp"
     1.8  #include "memory/referenceType.hpp"
     1.9  #if INCLUDE_ALL_GCS
    1.10  #include "gc_implementation/g1/g1YCTypes.hpp"
    1.11 @@ -113,7 +112,6 @@
    1.12  #endif // INCLUDE_ALL_GCS
    1.13  
    1.14  class GCTracer : public ResourceObj {
    1.15 -  friend class ObjectCountEventSenderClosure;
    1.16   protected:
    1.17    SharedGCInfo _shared_gc_info;
    1.18  
    1.19 @@ -123,7 +121,6 @@
    1.20    void report_gc_heap_summary(GCWhen::Type when, const GCHeapSummary& heap_summary, const MetaspaceSummary& meta_space_summary) const;
    1.21    void report_gc_reference_stats(const ReferenceProcessorStats& rp) const;
    1.22    void report_object_count_after_gc(BoolObjectClosure* object_filter) NOT_SERVICES_RETURN;
    1.23 -
    1.24    bool has_reported_gc_start() const;
    1.25  
    1.26   protected:
    1.27 @@ -137,25 +134,6 @@
    1.28    void send_meta_space_summary_event(GCWhen::Type when, const MetaspaceSummary& meta_space_summary) const;
    1.29    void send_reference_stats_event(ReferenceType type, size_t count) const;
    1.30    void send_phase_events(TimePartitions* time_partitions) const;
    1.31 -  void send_object_count_after_gc_event(Klass* klass, jlong count, julong total_size) const NOT_SERVICES_RETURN;
    1.32 -  bool should_send_object_count_after_gc_event() const;
    1.33 -};
    1.34 -
    1.35 -class ObjectCountEventSenderClosure : public KlassInfoClosure {
    1.36 -  GCTracer* _gc_tracer;
    1.37 -  const double _size_threshold_percentage;
    1.38 -  const size_t _total_size_in_words;
    1.39 - public:
    1.40 -  ObjectCountEventSenderClosure(GCTracer* gc_tracer, size_t total_size_in_words) :
    1.41 -    _gc_tracer(gc_tracer),
    1.42 -    _size_threshold_percentage(ObjectCountCutOffPercent / 100),
    1.43 -    _total_size_in_words(total_size_in_words)
    1.44 -  {}
    1.45 -  virtual void do_cinfo(KlassInfoEntry* entry);
    1.46 - protected:
    1.47 -  virtual void send_event(KlassInfoEntry* entry);
    1.48 - private:
    1.49 -  bool should_send_event(KlassInfoEntry* entry) const;
    1.50  };
    1.51  
    1.52  class YoungGCTracer : public GCTracer {

mercurial