Skip to content

Commit 075cdef

Browse files
authored
Remove debugging code from ActiveBitmap (#242)
1 parent c024517 commit 075cdef

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ddprof-lib/src/main/java/com/datadoghq/profiler/ActiveBitmap.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ static void setActive(int tid, boolean active) {
5252
int delta = active ? 1 : -1;
5353
assert activeCountAddr != 0;
5454
UNSAFE.getAndAddInt(null, activeCountAddr, delta);
55-
if (isActive0(tid) != active) {
56-
throw new RuntimeException("SetActive Failed");
57-
}
58-
5955
assert isActive0(tid) == active;
6056
}
6157

0 commit comments

Comments
 (0)