From b932c83b354b224db4d2abe0d1a8fec846a2d8a5 Mon Sep 17 00:00:00 2001 From: The Judge Date: Sun, 2 Jun 2024 16:20:29 -0700 Subject: [PATCH] Revert "Update JREUtils.java" This reverts commit f042ddfca244fba80ad3618af5c2effe6fa5f616. --- src/main/java/pojlib/util/JREUtils.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/pojlib/util/JREUtils.java b/src/main/java/pojlib/util/JREUtils.java index 1d5ac50d..8e330c53 100644 --- a/src/main/java/pojlib/util/JREUtils.java +++ b/src/main/java/pojlib/util/JREUtils.java @@ -197,10 +197,7 @@ public static int launchJavaVM(final Activity activity, final List JVMAr userArgs.add("-XX:+UseZGC"); userArgs.add("-XX:+ZGenerational"); - userArgs.add("-XX:+UnlockExperimentalVMOptions"); - userArgs.add("-XX:+UnlockDiagnosticVMOptions"); - userArgs.add("-XX:+DisableExplicitGC"); - userArgs.add("-XX:+UseCriticalJavaThreadPriority"); + userArgs.add("-Dorg.lwjgl.opengl.libname=" + graphicsLib); userArgs.add("-Dorg.lwjgl.opengles.libname=" + "/system/lib64/libGLESv3.so"); userArgs.add("-Dorg.lwjgl.egl.libname=" + "/system/lib64/libEGL_dri.so");