JDK-8012210 : Make TracingTime available when INCLUDE_TRACE = 0
  • Type: Bug
  • Status: Closed
  • Resolution: Fixed
  • Component: hotspot
  • Sub-Component: svc
  • Priority: P3
  • Affected Version: hs24
  • Submit Date: 2013-04-15
  • Updated Date: 2013-07-18
  • Resolved Date: 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 Availabitlity 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.