diff src/os/linux/vm/os_linux.cpp @ 1942:00bc9eaf0e24

Support for -XX:+UseFastLocking flag. Fixed monitor enter XIR template for correct debug info at the runtime call.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Wed, 29 Dec 2010 20:06:41 +0100
parents 8d88c9ac9247
children 06f017f7daa7
line wrap: on
line diff
--- a/src/os/linux/vm/os_linux.cpp	Tue Dec 28 18:33:26 2010 +0100
+++ b/src/os/linux/vm/os_linux.cpp	Wed Dec 29 20:06:41 2010 +0100
@@ -3408,6 +3408,7 @@
 
 void signalHandler(int sig, siginfo_t* info, void* uc) {
   assert(info != NULL && uc != NULL, "it must be old kernel");
+  ResourceMark rm;
   if (TraceSignals) {
     tty->print_cr(err_msg("signal received: code=%d errno=%d signo=%d thread=%s address=%x", info->si_code, info->si_errno, info->si_signo, Thread::current()->name(), info->si_addr));
   }