-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
If a project's build file sets the JVM args this can stop the profiling working.
Trace included a warning about this for hprof:
Logger.error("Error reading trace file: " + hprofFile);
Logger.error("One possible cause of this error is if build files are setting the argLine parameter");
Logger.error("grep through files for \"argLine\" to check.");
Logger.trace(e);
System.exit(-1);
but not for JFR. Either fix the clash, or at least add a warning for JFR.