Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ echo "PID: $PID"
unset JDK_JAVA_OPTIONS
unset JAVA_TOOL_OPTIONS
unset _JAVA_OPTIONS
# Prevent the instrumentation injector from re-injecting the agent into the child JVM
unset LD_PRELOAD
unset DYLD_INSERT_LIBRARIES

# Execute the Java command with the loaded values
"$config_java_home/bin/java" -Ddd.dogstatsd.start-delay=0 -jar "$config_agent" sendOomeEvent "$config_tags"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ if [ -z "$1" ]; then
unset JDK_JAVA_OPTIONS
unset JAVA_TOOL_OPTIONS
unset _JAVA_OPTIONS
# Prevent the instrumentation injector from re-injecting the agent into the child JVM
unset LD_PRELOAD
unset DYLD_INSERT_LIBRARIES

"!JAVA_HOME!/bin/java" -jar "!AGENT_JAR!" uploadCrash "!JAVA_ERROR_FILE!"
if [ $? -eq 0 ]; then
Expand Down Expand Up @@ -129,6 +132,9 @@ echo "PID: $PID"
unset JDK_JAVA_OPTIONS
unset JAVA_TOOL_OPTIONS
unset _JAVA_OPTIONS
# Prevent the instrumentation injector from re-injecting the agent into the child JVM
unset LD_PRELOAD
unset DYLD_INSERT_LIBRARIES

# Execute the Java command with the loaded values
"$config_java_home/bin/java" -jar "$config_agent" uploadCrash -c "$configFile" "$config_hs_err"
Expand Down
Loading