src/share/vm/utilities/intHisto.hpp

changeset 3901
24b9c7f4cae6
parent 3900
d2a62e0f25eb
child 4153
b9a9ed0f8eeb
equal deleted inserted replaced
3898:bcffa4c5eef6 3901:24b9c7f4cae6
45 // ysr: (i am not sure i agree with the above note.) i suspect we want to have a 45 // ysr: (i am not sure i agree with the above note.) i suspect we want to have a
46 // histogram template that will map an arbitrary type (with a defined order 46 // histogram template that will map an arbitrary type (with a defined order
47 // relation) to a count. 47 // relation) to a count.
48 48
49 49
50 class IntHistogram : public CHeapObj { 50 class IntHistogram : public CHeapObj<mtInternal> {
51 protected: 51 protected:
52 int _max; 52 int _max;
53 int _tot; 53 int _tot;
54 GrowableArray<int>* _elements; 54 GrowableArray<int>* _elements;
55 55

mercurial