Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8064348

Add TraceEvent::is_enabled() for embedded/minimal builds

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      jfr
    • Resolved In Build:
      b42

      Backports

        Description

        When INCLUDE_TRACE is not #defined, the TraceEvent::is_enabled() function is undefined. This causes embedded builds to fail if this function is used.

        Even when tracing is not included, the function should be defined and just return false for all events.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mlarsson Marcus Larsson (Inactive)
                  Reporter:
                  mlarsson Marcus Larsson (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: