CDV ❯ Lock profiler shows 0 for all stats when using trace depth 0
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
Lock Manager
-
-
kkannaiy
-
Reporter: amiller
-
September 11, 2008
-
0
-
Watchers: 0
-
February 12, 2013
-
November 18, 2008
Attachments
Description
I see this behavior happening in both 2.6.2 and 2.7.0-stable1-ish. Gary K confirmed on 2.6.2.
I’m running a tc app that does locking continuously. If I turn the Lock Profiler in the admin console on and set trace depth to 0 and Refresh I see lock instances but all stats are set to 0, which I find surprising. I expect to see stats but no stack traces for instances of the lock.
Comments
Gary Keim 2008-11-14
Gary Keim 2008-11-18
Also made default trace-depth==0.
Kalai Kannaiyan 2008-12-05
Tested with Terracotta 2.7.2-nightly, as of 20081130-161118 (Revision 10921 by cruise@WXPMO0 from 2.7), it is working as expected. Tested with sharededitor sample, the stats values are displayed when trace depth is set to 0.
It appears Antonio was using a traceDepth == 0 as an indication that profiling was disabled.