-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove no longer needed permgen size check (#254)
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
patches/server/0103-Remove-unnecessary-permgen-size-check.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: uRyanxD <familiarodrigues123ro@gmail.com> | ||
Date: Wed, 30 Oct 2024 17:56:59 -0300 | ||
Subject: [PATCH] Remove unnecessary permgen size check | ||
|
||
|
||
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java | ||
index 3fdc95dc79531f909728af4e543a3f9b621f5159..e8e264ec639594aa282648e9797e1bb4dae1cfd9 100644 | ||
--- a/src/main/java/org/bukkit/craftbukkit/Main.java | ||
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java | ||
@@ -207,6 +207,8 @@ public class Main { | ||
// PandaSpigot end | ||
} | ||
|
||
+ // PandaSpigot start - Not necessary to check permgen size anymore | ||
+ /* | ||
// Spigot Start | ||
int maxPermGen = 0; // In kb | ||
for ( String s : java.lang.management.ManagementFactory.getRuntimeMXBean().getInputArguments() ) | ||
@@ -223,6 +225,8 @@ public class Main { | ||
System.out.println( "Please see http://www.spigotmc.org/wiki/changing-permgen-size/ for more details and more in-depth instructions." ); | ||
} | ||
// Spigot End | ||
+ */ | ||
+ // PandaSpigot end | ||
System.setProperty("library.jansi.version", "PandaSpigot"); // PandaSpigot - set meaningless jansi version to prevent git builds from crashing on Windows | ||
System.out.println("Loading libraries, please wait..."); | ||
// PandaSpigot start - Modern tick loop |