8296931: NMT tests slowed down considerably by JDK-8242181
Reviewed-by: chagedorn, mbaesken
This commit is contained in:
parent
65f7de2523
commit
5e08b3f40e
@ -80,7 +80,6 @@ void NativeCallStack::print_on(outputStream* out, int indent) const {
|
||||
address pc;
|
||||
char buf[1024];
|
||||
int offset;
|
||||
int line_no;
|
||||
if (is_empty()) {
|
||||
for (int index = 0; index < indent; index ++) out->print(" ");
|
||||
out->print("[BOOTSTRAP]");
|
||||
@ -96,9 +95,10 @@ void NativeCallStack::print_on(outputStream* out, int indent) const {
|
||||
out->print("[" PTR_FORMAT "]", p2i(pc));
|
||||
}
|
||||
|
||||
if (Decoder::get_source_info(pc, buf, sizeof(buf), &line_no, frame != 0)) {
|
||||
out->print(" (%s:%d)", buf, line_no);
|
||||
}
|
||||
// Note: we deliberately omit printing source information here. NativeCallStack::print_on()
|
||||
// can be called thousands of times as part of NMT detail reporting, and source printing
|
||||
// can slow down reporting by a factor of 5 or more depending on platform (see JDK-8296931).
|
||||
|
||||
out->cr();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user