Skip to content

Profiling / project JVM args conflict #99

Description

@sandybrownlee

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions