mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 08:38:18 +08:00
let launch.properties file decide whether to use -Xshare:off
This commit is contained in:
@@ -17,8 +17,4 @@ VMARG_LIST="-Djava.awt.headless=true "
|
|||||||
SCRIPT_FILE="$(readlink -f "$0" 2>/dev/null || readlink "$0" 2>/dev/null || echo "$0")"
|
SCRIPT_FILE="$(readlink -f "$0" 2>/dev/null || readlink "$0" 2>/dev/null || echo "$0")"
|
||||||
SCRIPT_DIR="${SCRIPT_FILE%/*}"
|
SCRIPT_DIR="${SCRIPT_FILE%/*}"
|
||||||
|
|
||||||
# Some JVM's with class data sharing enabled have issues with BSim starting with Ghidra's custom
|
|
||||||
# classloader, so we will disable sharing
|
|
||||||
VMARG_LIST+="-Xshare:off"
|
|
||||||
|
|
||||||
${SCRIPT_DIR}/launch.sh $LAUNCH_MODE jdk "BSimControl" $MAXMEM "${VMARG_LIST}" ghidra.features.bsim.query.BSimControlLaunchable "$@"
|
${SCRIPT_DIR}/launch.sh $LAUNCH_MODE jdk "BSimControl" $MAXMEM "${VMARG_LIST}" ghidra.features.bsim.query.BSimControlLaunchable "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user