Skip to content

Commit

Permalink
Update JREUtils.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Cartrigger authored May 26, 2024
1 parent 43d7c0f commit f91be3b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/pojlib/util/JREUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@ public static int launchJavaVM(final Activity activity, final List<String> 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");
Expand Down

0 comments on commit f91be3b

Please sign in to comment.