< prev index next > test/hotspot/jtreg/runtime/cds/SharedSymbolTableBucketSize.java
Print this page
throw new Exception("FAILED: pattern \"" + pattern + "\" not found");
}
Float f = Float.parseFloat(s);
int size = Math.round(f);
! if (size != bucket_size) {
throw new Exception("FAILED: incorrect bucket size " + size +
! ", expect " + bucket_size);
}
// Invalid SharedSymbolTableBucketSize input
String input[] = {"-XX:SharedSymbolTableBucketSize=-1",
"-XX:SharedSymbolTableBucketSize=2.5"};
throw new Exception("FAILED: pattern \"" + pattern + "\" not found");
}
Float f = Float.parseFloat(s);
int size = Math.round(f);
! if (size != bucket_size && size != bucket_size + 1) {
throw new Exception("FAILED: incorrect bucket size " + size +
! ", expect " + bucket_size + ", or " + (bucket_size + 1));
}
// Invalid SharedSymbolTableBucketSize input
String input[] = {"-XX:SharedSymbolTableBucketSize=-1",
"-XX:SharedSymbolTableBucketSize=2.5"};
< prev index next >