< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahNumberSeq.hpp

Print this page
@@ -48,10 +48,13 @@
    HdrSeq();
    ~HdrSeq();
  
    virtual void add(double val);
    double percentile(double level) const;
+ 
+   // Merge this HdrSeq into hdr2, optionally clearing this HdrSeq
+   void merge(HdrSeq& hdr2, bool clear_this = true);
  };
  
  // Binary magnitude sequence stores the power-of-two histogram.
  // It has very low memory requirements, and is thread-safe. When accuracy
  // is not needed, it is preferred over HdrSeq.
< prev index next >