Searched defs:HistoEntry (Results 1 - 1 of 1) sorted by relevance

/openjdk7/hotspot/src/share/vm/interpreter/
H A DbytecodeHistogram.cpp69 class HistoEntry: public ResourceObj { class in inherits:ResourceObj
75 HistoEntry(int index, int count) { _index = index; _count = count; } function in class:HistoEntry
79 static int compare(HistoEntry** x, HistoEntry** y) { return (*x)->count() - (*y)->count(); }
85 static GrowableArray<HistoEntry*>* sorted_array(int* array, int length) {
86 GrowableArray<HistoEntry*>* a = new GrowableArray<HistoEntry*>(length);
88 while (i-- > 0) a->append(new HistoEntry(i, array[i]));
89 a->sort(HistoEntry::compare);
94 static int total_count(GrowableArray<HistoEntry*>* profil
[all...]

Completed in 31 milliseconds