apkfuckery/com.discord/smali_classes2/u/a/o.smali

574 lines
11 KiB
Smali
Raw Normal View History

2019-12-21 01:41:59 +00:00
.class public final Lu/a/o;
.super Lu/a/u0;
2019-10-03 02:31:26 +00:00
.source "CommonPool.kt"
# static fields
2019-12-06 03:29:40 +00:00
.field public static final d:I
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
.field public static e:Z
2019-10-03 02:31:26 +00:00
2019-12-21 01:41:59 +00:00
.field public static final f:Lu/a/o;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
.field public static volatile pool:Ljava/util/concurrent/Executor;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
.locals 4
2019-10-03 02:31:26 +00:00
2019-12-21 01:41:59 +00:00
new-instance v0, Lu/a/o;
2019-10-03 02:31:26 +00:00
2019-12-21 01:41:59 +00:00
invoke-direct {v0}, Lu/a/o;-><init>()V
2019-10-03 02:31:26 +00:00
2019-12-21 01:41:59 +00:00
sput-object v0, Lu/a/o;->f:Lu/a/o;
2019-10-03 02:31:26 +00:00
:try_start_0
const-string v0, "kotlinx.coroutines.default.parallelism"
invoke-static {v0}, Ljava/lang/System;->getProperty(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
const/4 v0, 0x0
:goto_0
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_1
2019-10-03 02:31:26 +00:00
2019-12-21 01:41:59 +00:00
invoke-static {v0}, Lt/a0/o;->toIntOrNull(Ljava/lang/String;)Ljava/lang/Integer;
2019-10-03 02:31:26 +00:00
move-result-object v1
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_0
2019-10-03 02:31:26 +00:00
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v2
2019-12-06 03:29:40 +00:00
const/4 v3, 0x1
if-lt v2, v3, :cond_0
2019-10-03 02:31:26 +00:00
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v0
2019-12-06 03:29:40 +00:00
goto :goto_1
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
:cond_0
2019-10-03 02:31:26 +00:00
const-string v1, "Expected positive number in kotlinx.coroutines.default.parallelism, but has "
2019-12-06 03:29:40 +00:00
invoke-static {v1, v0}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-10-03 02:31:26 +00:00
move-result-object v0
new-instance v1, Ljava/lang/IllegalStateException;
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
2019-12-06 03:29:40 +00:00
:cond_1
const/4 v0, -0x1
:goto_1
2019-12-21 01:41:59 +00:00
sput v0, Lu/a/o;->d:I
2019-12-06 03:29:40 +00:00
return-void
2019-10-03 02:31:26 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public constructor <init>()V
2019-10-03 02:31:26 +00:00
.locals 0
2019-12-21 01:41:59 +00:00
invoke-direct {p0}, Lu/a/u0;-><init>()V
2019-10-03 02:31:26 +00:00
return-void
.end method
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
# virtual methods
.method public a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
.locals 1
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_2
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p2, :cond_1
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
:try_start_0
2019-12-21 01:41:59 +00:00
sget-object p1, Lu/a/o;->pool:Ljava/util/concurrent/Executor;
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_0
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
:cond_0
2019-12-21 01:41:59 +00:00
invoke-virtual {p0}, Lu/a/o;->g()Ljava/util/concurrent/Executor;
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p1
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
:goto_0
2019-12-21 01:41:59 +00:00
sget-object v0, Lu/a/w1;->a:Lu/a/v1;
2019-12-06 03:29:40 +00:00
:try_end_0
.catch Ljava/util/concurrent/RejectedExecutionException; {:try_start_0 .. :try_end_0} :catch_0
2019-10-09 23:16:36 +00:00
2019-12-21 01:41:59 +00:00
check-cast v0, Lu/a/h0;
2019-12-06 03:29:40 +00:00
:try_start_1
2019-12-21 01:41:59 +00:00
invoke-virtual {v0, p2}, Lu/a/h0;->a(Ljava/lang/Runnable;)Ljava/lang/Runnable;
2019-12-06 03:29:40 +00:00
invoke-interface {p1, p2}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
:try_end_1
.catch Ljava/util/concurrent/RejectedExecutionException; {:try_start_1 .. :try_end_1} :catch_0
goto :goto_1
:catch_0
2019-12-21 01:41:59 +00:00
sget-object p1, Lu/a/w1;->a:Lu/a/v1;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
check-cast p1, Lu/a/h0;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-virtual {p1}, Lu/a/h0;->d()V
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
sget-object p1, Lu/a/f0;->j:Lu/a/f0;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-virtual {p1, p2}, Lu/a/s0;->a(Ljava/lang/Runnable;)V
2019-12-06 03:29:40 +00:00
:goto_1
return-void
:cond_1
const-string p1, "block"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_2
const-string p1, "context"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
.method public final a(Ljava/lang/Class;Ljava/util/concurrent/ExecutorService;)Z
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;",
"Ljava/util/concurrent/ExecutorService;",
")Z"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_4
if-eqz p2, :cond_3
2019-12-21 01:41:59 +00:00
sget-object v1, Lu/a/o$b;->d:Lu/a/o$b;
2019-12-06 03:29:40 +00:00
invoke-interface {p2, v1}, Ljava/util/concurrent/ExecutorService;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
2019-10-09 23:16:36 +00:00
const/4 v1, 0x0
2019-12-06 03:29:40 +00:00
:try_start_0
const-string v2, "getPoolSize"
new-array v3, v1, [Ljava/lang/Class;
invoke-virtual {p1, v2, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object p1
new-array v2, v1, [Ljava/lang/Object;
invoke-virtual {p1, p2, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
instance-of p2, p1, Ljava/lang/Integer;
if-nez p2, :cond_0
move-object p1, v0
:cond_0
check-cast p1, Ljava/lang/Integer;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-object p1, v0
2019-10-09 23:16:36 +00:00
:goto_0
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_2
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
const/4 p2, 0x1
if-lt p1, p2, :cond_1
2019-10-09 23:16:36 +00:00
goto :goto_1
:cond_1
2019-12-06 03:29:40 +00:00
const/4 p2, 0x0
2019-10-09 23:16:36 +00:00
:goto_1
2019-12-06 03:29:40 +00:00
return p2
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
:cond_2
return v1
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
:cond_3
const-string p1, "executor"
2019-10-09 23:16:36 +00:00
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
throw v0
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
:cond_4
const-string p1, "fjpClass"
2019-10-09 23:16:36 +00:00
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
throw v0
.end method
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
.method public close()V
.locals 2
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
new-instance v0, Ljava/lang/IllegalStateException;
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
const-string v1, "Close cannot be invoked on CommonPool"
2019-10-09 23:16:36 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
2019-10-09 23:16:36 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public final e()Ljava/util/concurrent/ExecutorService;
.locals 3
new-instance v0, Ljava/util/concurrent/atomic/AtomicInteger;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V
2019-12-21 01:41:59 +00:00
invoke-virtual {p0}, Lu/a/o;->h()I
2019-12-06 03:29:40 +00:00
move-result v1
2019-12-21 01:41:59 +00:00
new-instance v2, Lu/a/o$a;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-direct {v2, v0}, Lu/a/o$a;-><init>(Ljava/util/concurrent/atomic/AtomicInteger;)V
2019-12-06 03:29:40 +00:00
invoke-static {v1, v2}, Ljava/util/concurrent/Executors;->newFixedThreadPool(ILjava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;
move-result-object v0
const-string v1, "Executors.newFixedThread\u2026Daemon = true }\n }"
2019-12-21 01:41:59 +00:00
invoke-static {v0, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
return-object v0
.end method
.method public final f()Ljava/util/concurrent/ExecutorService;
2019-10-03 02:31:26 +00:00
.locals 6
invoke-static {}, Ljava/lang/System;->getSecurityManager()Ljava/lang/SecurityManager;
move-result-object v0
if-eqz v0, :cond_0
2019-12-21 01:41:59 +00:00
invoke-virtual {p0}, Lu/a/o;->e()Ljava/util/concurrent/ExecutorService;
2019-10-03 02:31:26 +00:00
move-result-object v0
return-object v0
:cond_0
2019-12-06 03:29:40 +00:00
const-string v0, "java.util.concurrent.ForkJoinPool"
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
:try_start_0
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-10-03 02:31:26 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
2019-12-06 03:29:40 +00:00
move-object v0, v1
2019-10-03 02:31:26 +00:00
:goto_0
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_7
2019-10-03 02:31:26 +00:00
2019-12-21 01:41:59 +00:00
sget-boolean v2, Lu/a/o;->e:Z
2019-10-03 02:31:26 +00:00
const/4 v3, 0x0
2019-12-06 03:29:40 +00:00
if-nez v2, :cond_4
2019-10-03 02:31:26 +00:00
2019-12-21 01:41:59 +00:00
sget v2, Lu/a/o;->d:I
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
if-gez v2, :cond_4
2019-10-03 02:31:26 +00:00
:try_start_1
const-string v2, "commonPool"
new-array v4, v3, [Ljava/lang/Class;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v2, v4}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
2019-10-03 02:31:26 +00:00
move-result-object v2
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_1
2019-10-03 02:31:26 +00:00
new-array v4, v3, [Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
invoke-virtual {v2, v1, v4}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
2019-10-03 02:31:26 +00:00
move-result-object v2
goto :goto_1
2019-12-06 03:29:40 +00:00
:cond_1
move-object v2, v1
2019-10-03 02:31:26 +00:00
:goto_1
instance-of v4, v2, Ljava/util/concurrent/ExecutorService;
2019-12-06 03:29:40 +00:00
if-nez v4, :cond_2
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
move-object v2, v1
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
:cond_2
2019-10-03 02:31:26 +00:00
check-cast v2, Ljava/util/concurrent/ExecutorService;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
goto :goto_2
:catchall_1
2019-12-06 03:29:40 +00:00
move-object v2, v1
2019-10-03 02:31:26 +00:00
:goto_2
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_4
2019-10-03 02:31:26 +00:00
2019-12-21 01:41:59 +00:00
sget-object v4, Lu/a/o;->f:Lu/a/o;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-virtual {v4, v0, v2}, Lu/a/o;->a(Ljava/lang/Class;Ljava/util/concurrent/ExecutorService;)Z
2019-10-03 02:31:26 +00:00
move-result v4
2019-12-06 03:29:40 +00:00
if-eqz v4, :cond_3
2019-10-03 02:31:26 +00:00
goto :goto_3
2019-12-06 03:29:40 +00:00
:cond_3
move-object v2, v1
2019-10-03 02:31:26 +00:00
:goto_3
2019-12-06 03:29:40 +00:00
if-eqz v2, :cond_4
2019-10-03 02:31:26 +00:00
return-object v2
2019-12-06 03:29:40 +00:00
:cond_4
2019-10-03 02:31:26 +00:00
const/4 v2, 0x1
:try_start_2
new-array v4, v2, [Ljava/lang/Class;
sget-object v5, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
aput-object v5, v4, v3
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v4}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-10-03 02:31:26 +00:00
new-array v2, v2, [Ljava/lang/Object;
2019-12-21 01:41:59 +00:00
sget-object v4, Lu/a/o;->f:Lu/a/o;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-virtual {v4}, Lu/a/o;->h()I
2019-10-03 02:31:26 +00:00
move-result v4
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
aput-object v4, v2, v3
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v2}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
instance-of v2, v0, Ljava/util/concurrent/ExecutorService;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
if-nez v2, :cond_5
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
move-object v0, v1
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
:cond_5
check-cast v0, Ljava/util/concurrent/ExecutorService;
2019-10-03 02:31:26 +00:00
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_2
goto :goto_4
:catchall_2
2019-12-06 03:29:40 +00:00
move-object v0, v1
2019-10-03 02:31:26 +00:00
:goto_4
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_6
2019-10-03 02:31:26 +00:00
return-object v0
2019-12-06 03:29:40 +00:00
:cond_6
2019-12-21 01:41:59 +00:00
invoke-virtual {p0}, Lu/a/o;->e()Ljava/util/concurrent/ExecutorService;
2019-10-03 02:31:26 +00:00
move-result-object v0
return-object v0
2019-12-06 03:29:40 +00:00
:cond_7
2019-12-21 01:41:59 +00:00
invoke-virtual {p0}, Lu/a/o;->e()Ljava/util/concurrent/ExecutorService;
2019-10-03 02:31:26 +00:00
move-result-object v0
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public final declared-synchronized g()Ljava/util/concurrent/Executor;
.locals 1
2019-10-03 02:31:26 +00:00
monitor-enter p0
:try_start_0
2019-12-21 01:41:59 +00:00
sget-object v0, Lu/a/o;->pool:Ljava/util/concurrent/Executor;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
:cond_0
2019-12-21 01:41:59 +00:00
invoke-virtual {p0}, Lu/a/o;->f()Ljava/util/concurrent/ExecutorService;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-10-03 02:31:26 +00:00
2019-12-21 01:41:59 +00:00
sput-object v0, Lu/a/o;->pool:Ljava/util/concurrent/Executor;
2019-10-03 02:31:26 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2019-12-06 03:29:40 +00:00
:goto_0
2019-10-03 02:31:26 +00:00
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
2019-12-06 03:29:40 +00:00
.method public final h()I
.locals 3
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
sget v0, Lu/a/o;->d:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Ljava/lang/Number;->intValue()I
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
move-result v1
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x1
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
if-lez v1, :cond_0
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x1
2019-10-03 02:31:26 +00:00
goto :goto_0
2019-12-06 03:29:40 +00:00
:cond_0
const/4 v1, 0x0
2019-10-03 02:31:26 +00:00
:goto_0
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_1
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_1
2019-10-03 02:31:26 +00:00
:cond_1
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
:goto_1
if-eqz v0, :cond_2
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
move-result v0
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_2
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
:cond_2
invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;
2019-10-03 02:31:26 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Ljava/lang/Runtime;->availableProcessors()I
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
move-result v0
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
sub-int/2addr v0, v2
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
if-ge v0, v2, :cond_3
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x1
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
:cond_3
:goto_2
return v0
2019-10-03 02:31:26 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public toString()Ljava/lang/String;
2019-10-03 02:31:26 +00:00
.locals 1
const-string v0, "CommonPool"
2019-07-24 11:27:29 +00:00
return-object v0
.end method