equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
26 #define SHARE_VM_GC_G1_G1PREDICTIONS_HPP |
26 #define SHARE_VM_GC_G1_G1PREDICTIONS_HPP |
27 |
27 |
28 #include "utilities/numberSeq.hpp" |
28 #include "utilities/numberSeq.hpp" |
29 |
29 |
30 // Utility class containing various helper methods for prediction. |
30 // Utility class containing various helper methods for prediction. |
31 class G1Predictions VALUE_OBJ_CLASS_SPEC { |
31 class G1Predictions { |
32 private: |
32 private: |
33 double _sigma; |
33 double _sigma; |
34 |
34 |
35 // This function is used to estimate the stddev of sample sets. There is some |
35 // This function is used to estimate the stddev of sample sets. There is some |
36 // special consideration of small sample sets: the actual stddev for them is |
36 // special consideration of small sample sets: the actual stddev for them is |