< prev index next >

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

Print this page
@@ -1,7 +1,8 @@
  /*
   * Copyright (c) 2018, 2019, Red Hat, Inc. All rights reserved.
+  * Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -47,11 +48,13 @@
  public:
    HdrSeq();
    ~HdrSeq();
  
    virtual void add(double val);
+   void add(const HdrSeq& other);
    double percentile(double level) const;
+   void clear();
  };
  
  // 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 >