a$a.smali

.class final Lsg/bigo/apm/plugins/a/a$a;
.super Ljava/lang/Object;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lsg/bigo/apm/plugins/a/a;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = "a"
.end annotation


# direct methods
.method constructor <init>()V
    .registers 1

    .line 20
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method protected final finalize()V
    .registers 4

    .line 23
    invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J

    move-result-wide v0

    sput-wide v0, Lsg/bigo/apm/plugins/a/a;->c:J

    .line 24
    invoke-static {}, Lsg/bigo/apm/plugins/a/a;->a()Ljava/util/ArrayList;

    move-result-object v0

    monitor-enter v0

    .line 25
    :try_start_b
    invoke-static {}, Lsg/bigo/apm/plugins/a/a;->a()Ljava/util/ArrayList;

    move-result-object v1

    sget-object v2, Lsg/bigo/apm/plugins/a/a;->b:[Ljava/lang/Runnable;

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;

    move-result-object v1

    check-cast v1, [Ljava/lang/Runnable;

    sput-object v1, Lsg/bigo/apm/plugins/a/a;->b:[Ljava/lang/Runnable;

    .line 26
    monitor-exit v0
    :try_end_1a
    .catchall {:try_start_b .. :try_end_1a} :catchall_3d

    const/4 v0, 0x0

    .line 27
    :goto_1b
    sget-object v1, Lsg/bigo/apm/plugins/a/a;->b:[Ljava/lang/Runnable;

    array-length v1, v1

    if-ge v0, v1, :cond_30

    .line 28
    sget-object v1, Lsg/bigo/apm/plugins/a/a;->b:[Ljava/lang/Runnable;

    aget-object v1, v1, v0

    if-eqz v1, :cond_2d

    .line 29
    sget-object v1, Lsg/bigo/apm/plugins/a/a;->b:[Ljava/lang/Runnable;

    aget-object v1, v1, v0

    invoke-interface {v1}, Ljava/lang/Runnable;->run()V

    :cond_2d
    add-int/lit8 v0, v0, 0x1

    goto :goto_1b

    .line 32
    :cond_30
    new-instance v0, Ljava/lang/ref/WeakReference;

    new-instance v1, Lsg/bigo/apm/plugins/a/a$a;

    invoke-direct {v1}, Lsg/bigo/apm/plugins/a/a$a;-><init>()V

    invoke-direct {v0, v1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    sput-object v0, Lsg/bigo/apm/plugins/a/a;->a:Ljava/lang/ref/WeakReference;

    return-void

    :catchall_3d
    move-exception v1

    .line 26
    :try_start_3e
    monitor-exit v0
    :try_end_3f
    .catchall {:try_start_3e .. :try_end_3f} :catchall_3d

    goto :goto_41

    :goto_40
    throw v1

    :goto_41
    goto :goto_40
.end method