JDK-8012210 : Make TracingTime available when INCLUDE_TRACE = 0
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: hs24
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-04-15
  • Updated: 2013-07-18
  • Resolved: 2013-04-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 Other
7u40Fixed hs24Fixed
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.