Append the following arguments to your $JAVA_OPTS. Keep in mind without these arguments the flight recorder feature will remain disabled:
Recording by Hand
Automatic Recording
Append the following parameters to your JAVA_OPTS in order to dump the current profiling data to file and start with a new recording on Java process restart (settings may be omitted if no custom profiling config file is present):