• /
  • Log in
  • Free account

Java agent v7.1.0

July 7, 2021Download

Known issues

Some customers saw increased overhead when Real-time profiling is enabled.

See notice below on how to disable it.

New features and improvements:

  • Java instrumentation by XML new properties:

    • traceLambda - to trace lambdas inside a method
    • traceByReturnType - to trace all methods in a class that return a given type

    These are compatible with Java and Scala. For more information, see Java instrumentation by XML.

  • Scala APIs

    New artifacts allow Scala code to be instrumented using a fluent Scala API instead of the Java annotations. There are specific artifacts for versions 2.10, 2.11, 2.12, 2.13 of Scala. Scala 3.0 users can use the 2.13 artifact.

    For more information, see Scala instrumentation.

  • Real-time profiling for Java using JFR metrics

    This feature is now enabled by default.

    Important

    This feature will cause an increase in the consumption of data. The amount depends on the application. This feature can be disabled by adding the following to the agent yaml config nested under the common stanza:

    jfr:
    enabled: false

    For more information, see JFR core README.

Support statement:

  • New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
Create issueEdit page
Copyright © 2021 New Relic Inc.