Skip to content

Commit

Permalink
Workaround[UX]: remove huge page args, as android doesn't like it
Browse files Browse the repository at this point in the history
  • Loading branch information
Vera-Firefly authored Aug 16, 2023
1 parent 71d17a8 commit 9519224
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,9 @@ public static int launchJavaVM(final Activity activity, final Runtime runtime, F
purgeArg(userArgs,"-d32");
purgeArg(userArgs,"-d64");
purgeArg(userArgs, "-Xint");
purgeArg(userArgs, "-XX:+UseTransparentHugePages");
purgeArg(userArgs, "-XX:+UseLargePagesInMetaspace");
purgeArg(userArgs, "-XX:+UseLargePages");
purgeArg(userArgs, "-Dorg.lwjgl.opengl.libname");

//Add automatically generated args
Expand Down

0 comments on commit 9519224

Please sign in to comment.