United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8012210 Make TracingTime available when INCLUDE_TRACE = 0
JDK-8012210 : Make TracingTime available when INCLUDE_TRACE = 0

Details
Type:
Bug
Submit Date:
2013-04-15
Status:
Resolved
Updated Date:
2013-04-30
Project Name:
JDK
Resolved Date:
2013-04-16
Component:
hotspot
OS:
Sub-Component:
svc
CPU:
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs24
Fixed Versions:
hs24 (b41)

Related Reports
Backport:

Sub Tasks

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. 
                                    

Comments
URL:   http://hg.openjdk.java.net/hsx/hsx24/hotspot/rev/f438a35cc903
User:  rbackman
Date:  2013-04-16 14:03:59 +0000

                                     
2013-04-16



Hardware and Software, Engineered to Work Together