mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-2269: Preventing AWTError when checking Taskbar.isTaskbarSupported()
This commit is contained in:
@@ -15,14 +15,10 @@ LAUNCH_MODE=fg
|
||||
# NOTE: This variable is ignored if not launching in a debugging mode.
|
||||
DEBUG_ADDRESS=127.0.0.1:13002
|
||||
|
||||
# Run Java in headless mode
|
||||
VMARG_LIST="-Djava.awt.headless=true "
|
||||
|
||||
# Limit the # of garbage collection and JIT compiler threads in case many headless
|
||||
# instances are run in parallel. By default, Java will assign one thread per core
|
||||
# which does not scale well on servers with many cores.
|
||||
VMARG_LIST+="-XX:ParallelGCThreads=2 "
|
||||
VMARG_LIST+="-XX:CICompilerCount=2 "
|
||||
VMARG_LIST="-XX:ParallelGCThreads=2 -XX:CICompilerCount=2 "
|
||||
|
||||
# Resolve symbolic link if present and get the directory this script lives in.
|
||||
# NOTE: "readlink -f" is best but works on Linux only, "readlink" will only work if your PWD
|
||||
|
||||
@@ -16,14 +16,10 @@ set LAUNCH_MODE=fg
|
||||
:: NOTE: This variable is ignored if not launching in a debugging mode.
|
||||
set DEBUG_ADDRESS=127.0.0.1:13002
|
||||
|
||||
:: Run Java in headless mode
|
||||
set VMARG_LIST=-Djava.awt.headless=true
|
||||
|
||||
:: Limit the # of garbage collection and JIT compiler threads in case many headless
|
||||
:: instances are run in parallel. By default, Java will assign one thread per core
|
||||
:: which does not scale well on servers with many cores.
|
||||
set VMARG_LIST=%VMARG_LIST% -XX:ParallelGCThreads=2
|
||||
set VMARG_LIST=%VMARG_LIST% -XX:CICompilerCount=2
|
||||
set VMARG_LIST=-XX:ParallelGCThreads=2 -XX:CICompilerCount=2
|
||||
|
||||
:: Store current path (%0 gets modified below by SHIFT)
|
||||
set "SCRIPT_DIR=%~dp0"
|
||||
|
||||
Reference in New Issue
Block a user