Bug #884 » 0001-Fix-Java-agent-update-ref-count-in-enabledLoggers.patch
liblttng-ust-java-agent/java/org/lttng/ust/agent/LogFrameworkSkeleton.java | ||
---|---|---|
Integer refcount = enabledLoggers.get(name);
|
||
refcount--;
|
||
assert (refcount >= 0);
|
||
enabledLoggers.put(name, refcount);
|
||
if (refcount == 0) {
|
||
/* Event is not used anymore, remove it from the map */
|
- « Previous
- 1
- 2
- Next »