Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Remove finalize from RecordEventsSpanImpl #2043

Merged
merged 1 commit into from Sep 22, 2020

Commits on Jul 16, 2020

  1. Remove finalize from RecordEventsSpanImpl

    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
    spkrka committed Jul 16, 2020
    Copy the full SHA
    8da5466 View commit details
    Browse the repository at this point in the history