Skip to content

Commit

Permalink
Use JVMCI
Browse files Browse the repository at this point in the history
  • Loading branch information
The Judge committed Jun 5, 2024
1 parent 90a4924 commit cecb34f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Binary file modified src/main/assets/JRE-21.zip
Binary file not shown.
5 changes: 5 additions & 0 deletions src/main/java/pojlib/util/JREUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ 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:-UseJVMCICompiler");
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");
Expand Down

0 comments on commit cecb34f

Please sign in to comment.