Mercurial > hg > truffle
comparison src/share/vm/oops/method.cpp @ 7365:96ce80e956a1
added missing ResourceMark
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 14 Jan 2013 14:25:16 +0100 |
parents | 291ffc492eb6 |
children | 989155e2d07a |
comparison
equal
deleted
inserted
replaced
7364:1489cd4eabe7 | 7365:96ce80e956a1 |
---|---|
722 if (size > 0) | 722 if (size > 0) |
723 tty->print(" (%d bytes)", size); | 723 tty->print(" (%d bytes)", size); |
724 tty->cr(); | 724 tty->cr(); |
725 } | 725 } |
726 if ((TraceDeoptimization || LogCompilation) && (xtty != NULL)) { | 726 if ((TraceDeoptimization || LogCompilation) && (xtty != NULL)) { |
727 ResourceMark rm; | |
727 ttyLocker ttyl; | 728 ttyLocker ttyl; |
728 xtty->begin_elem("make_not_%scompilable thread='" UINTX_FORMAT "'", | 729 xtty->begin_elem("make_not_%scompilable thread='" UINTX_FORMAT "'", |
729 is_osr ? "osr_" : "", os::current_thread_id()); | 730 is_osr ? "osr_" : "", os::current_thread_id()); |
730 xtty->method(this); | 731 xtty->method(this); |
731 xtty->stamp(); | 732 xtty->stamp(); |