Mercurial > hg > graal-compiler
comparison src/share/vm/utilities/vmError.cpp @ 4803:d7e3846464d0
7071311: Decoder enhancement
Summary: Made decoder thread-safe
Reviewed-by: coleenp, kamg
author | zgu |
---|---|
date | Tue, 17 Jan 2012 13:08:52 -0500 |
parents | 53074c2c4600 |
children | aa3d708d67c4 |
comparison
equal
deleted
inserted
replaced
4801:4f3ce9284781 | 4803:d7e3846464d0 |
---|---|
569 | 569 |
570 // see if it's a valid frame | 570 // see if it's a valid frame |
571 if (fr.pc()) { | 571 if (fr.pc()) { |
572 st->print_cr("Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)"); | 572 st->print_cr("Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)"); |
573 | 573 |
574 // initialize decoder to decode C frames | |
575 Decoder decoder; | |
576 | 574 |
577 int count = 0; | 575 int count = 0; |
578 while (count++ < StackPrintLimit) { | 576 while (count++ < StackPrintLimit) { |
579 fr.print_on_error(st, buf, sizeof(buf)); | 577 fr.print_on_error(st, buf, sizeof(buf)); |
580 st->cr(); | 578 st->cr(); |