Code Review
/
mdsal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bug 9060: mdsal-trace tooling with getAllUnique() to find Tx leaks
[mdsal.git]
/
dom-impl
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
md
/
sal
/
trace
/
closetracker
/
impl
/
CloseTracked.java
diff --git
a/dom-impl/src/main/java/org/opendaylight/controller/md/sal/trace/closetracker/impl/CloseTracked.java
b/dom-impl/src/main/java/org/opendaylight/controller/md/sal/trace/closetracker/impl/CloseTracked.java
index 6d8524fb3d513d5554e566f04f2be3dc301da3cb..1febe153eace20b415bde54d8b90278545de2bd1 100644
(file)
--- a/
dom-impl/src/main/java/org/opendaylight/controller/md/sal/trace/closetracker/impl/CloseTracked.java
+++ b/
dom-impl/src/main/java/org/opendaylight/controller/md/sal/trace/closetracker/impl/CloseTracked.java
@@
-11,7
+11,7
@@
import java.time.Instant;
import javax.annotation.Nullable;
/**
import javax.annotation.Nullable;
/**
- * Object which can track where it has been created, and if it has been correctly
closed
.
+ * Object which can track where it has been created, and if it has been correctly
"closed"
.
*
* <p>Includes preserving the context of the call stack which created this object, and the instant it was created.
*
*
* <p>Includes preserving the context of the call stack which created this object, and the instant it was created.
*
@@
-21,6
+21,6
@@
public interface CloseTracked<T extends CloseTracked<T>> {
Instant getObjectCreated();
Instant getObjectCreated();
- @Nullable
Throwable getAllocationContext
();
+ @Nullable
StackTraceElement[] getAllocationContextStackTrace
();
}
}