Do not use the removed Runtime.traceInstructions(boolean) and Runtime.traceMethodCalls(boolean) methods

The traceInstructions and traceMethodCalls methods in java.lang.Runtime were deprecated in Java SE 9 and are no longer available in Java SE 13 and later. Both functions can be replaced by JVM-specific tracing mechanisms, see JVM Tool Interface

For more information on the removed methods, see APIs Removed in Java SE 13.