diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/ControlFlowException.java @ 7731:8b7996916df6

Make fillInStackTrace final and non-synchronized in exceptions that do not need stack trace.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 05 Feb 2013 19:46:00 +0100
parents 31540ca73e81
children 494b818b527c
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/ControlFlowException.java	Tue Feb 05 17:19:52 2013 +0100
+++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/ControlFlowException.java	Tue Feb 05 19:46:00 2013 +0100
@@ -39,8 +39,9 @@
     /**
      * For performance reasons, this exception does not record any stack trace information.
      */
+    @SuppressWarnings("sync-override")
     @Override
-    public synchronized Throwable fillInStackTrace() {
+    public final Throwable fillInStackTrace() {
         return null;
     }
 }