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

Make TracingTime available when INCLUDE_TRACE = 0

    Details

    • Subcomponent:
      svc
    • Resolved In Build:
      b41
    • Verification:
      Not verified

      Backports

        Description

        Currently we define a type TracingTime and a method Tracing::time() when compiling with INCLUDE_TRACE. To avoid having code that looks like

        #ifdef INCLUDE_TRACE
        TracingTime t = Tracing::time();
        ...
        #endif

        we should make the TracingTime type available when INCLUDE_TRACE isn't defined and Tracing::time() should be a no-op.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rbackman Rickard Backman
                  Reporter:
                  rbackman Rickard Backman
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: