Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
7723:fad3f591580c | 7731:8b7996916df6 |
---|---|
37 } | 37 } |
38 | 38 |
39 /** | 39 /** |
40 * For performance reasons, this exception does not record any stack trace information. | 40 * For performance reasons, this exception does not record any stack trace information. |
41 */ | 41 */ |
42 @SuppressWarnings("sync-override") | |
42 @Override | 43 @Override |
43 public synchronized Throwable fillInStackTrace() { | 44 public final Throwable fillInStackTrace() { |
44 return null; | 45 return null; |
45 } | 46 } |
46 } | 47 } |