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

Make TracingTime available when INCLUDE_TRACE = 0

XMLWordPrintable

    • svc
    • b41
    • Not verified

        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.

              rbackman Rickard Backman (Inactive)
              rbackman Rickard Backman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: