8297343: TestStress*.java fail with "got different traces for the same seed"
Reviewed-by: thartmann, chagedorn
This commit is contained in:
parent
6a856bc3f6
commit
eff4c039da
@ -3180,16 +3180,25 @@ void TypePtr::InterfaceSet::compute_hash() {
|
||||
_hash = hash;
|
||||
}
|
||||
|
||||
static int compare_interfaces(ciKlass** k1, ciKlass** k2) {
|
||||
return (int)((*k1)->ident() - (*k2)->ident());
|
||||
}
|
||||
|
||||
void TypePtr::InterfaceSet::dump(outputStream *st) const {
|
||||
if (_list.length() == 0) {
|
||||
return;
|
||||
}
|
||||
ResourceMark rm;
|
||||
st->print(" (");
|
||||
for (int i = 0; i < _list.length(); i++) {
|
||||
GrowableArray<ciKlass*> interfaces;
|
||||
interfaces.appendAll(&_list);
|
||||
// Sort the interfaces so they are listed in the same order from one run to the other of the same compilation
|
||||
interfaces.sort(compare_interfaces);
|
||||
for (int i = 0; i < interfaces.length(); i++) {
|
||||
if (i > 0) {
|
||||
st->print(",");
|
||||
}
|
||||
ciKlass* k = _list.at(i);
|
||||
ciKlass* k = interfaces.at(i);
|
||||
k->print_name_on(st);
|
||||
}
|
||||
st->print(")");
|
||||
|
@ -68,9 +68,6 @@ compiler/c2/Test8004741.java 8235801 generic-all
|
||||
|
||||
compiler/codecache/jmx/PoolsIndependenceTest.java 8264632 macosx-all
|
||||
|
||||
compiler/debug/TestStressCM.java 8297343 generic-all
|
||||
compiler/debug/TestStressIGVNAndCCP.java 8297343 generic-all
|
||||
|
||||
#############################################################################
|
||||
|
||||
# :hotspot_gc
|
||||
|
Loading…
x
Reference in New Issue
Block a user