[FIX] Sentry module Java 8

This commit is contained in:
Gravita 2023-09-20 19:22:04 +07:00
parent a34267e902
commit d03c6120ff
2 changed files with 0 additions and 2 deletions

View file

@ -123,7 +123,6 @@ public static Class<?> firstClass(String... names) throws ClassNotFoundException
public static void fullGC() { public static void fullGC() {
RUNTIME.gc(); RUNTIME.gc();
RUNTIME.runFinalization();
LogHelper.debug("Used heap: %d MiB", RUNTIME.totalMemory() - RUNTIME.freeMemory() >> 20); LogHelper.debug("Used heap: %d MiB", RUNTIME.totalMemory() - RUNTIME.freeMemory() >> 20);
} }

View file

@ -100,7 +100,6 @@ public static Class<?> firstClass(String... names) throws ClassNotFoundException
public static void fullGC() { public static void fullGC() {
RUNTIME.gc(); RUNTIME.gc();
RUNTIME.runFinalization();
LogHelper.debug("Used heap: %d MiB", RUNTIME.totalMemory() - RUNTIME.freeMemory() >> 20); LogHelper.debug("Used heap: %d MiB", RUNTIME.totalMemory() - RUNTIME.freeMemory() >> 20);
} }