This repository was archived by the owner on Dec 23, 2023. It is now read-only.
Commit 59f277f
Remove finalize from RecordEventsSpanImpl (#2043)
Fixes #2045
This will reduce GC pressure since the VM will not call
Finalizer.register() when creating Span objects.
Since this method is synchronized on a static lock
it can be a source of contention.
It also avoids contention on the same lock when running
runFinalizer() as part of GC
(cherry picked from commit eab6382)1 parent f90e098 commit 59f277f
File tree
2 files changed
+0
-12
lines changed- buildscripts
- impl_core/src/main/java/io/opencensus/implcore/trace
2 files changed
+0
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | 176 | | |
178 | 177 | | |
179 | 178 | | |
| |||
Lines changed: 0 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | 589 | | |
0 commit comments