fix: enhancements for abnormal situations (PR #2679)

* Allow to disable log panel (OFF)

* Limit the maximum number of garbage collector threads
This commit is contained in:
Jan S.
2025-10-29 20:06:32 +01:00
committed by GitHub
parent 560b1a9ca7
commit e008e818b0
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -37,6 +37,7 @@ application {
"-XX:+IgnoreUnrecognizedVMOptions",
"-Xms256M",
"-XX:MaxRAMPercentage=70.0",
"-XX:ParallelGCThreads=3",
// disable zip checks (#1962)
"-Djdk.util.zip.disableZip64ExtraFieldValidation=true",
// Foreign API access for 'directories' library (Windows only)
@@ -29,7 +29,7 @@ import jadx.gui.utils.NLS;
public class LogPanel extends JPanel {
private static final long serialVersionUID = -8077649118322056081L;
private static final Level[] LEVEL_ITEMS = { Level.DEBUG, Level.INFO, Level.WARN, Level.ERROR };
private static final Level[] LEVEL_ITEMS = { Level.DEBUG, Level.INFO, Level.WARN, Level.ERROR, Level.OFF };
private final MainWindow mainWindow;
private final Runnable dockAction;