Changeset 227725 in webkit for trunk/Source/JavaScriptCore/runtime/SamplingProfiler.h
- Timestamp:
- Jan 29, 2018, 2:43:13 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/SamplingProfiler.h
r226295 r227725 40 40 namespace JSC { 41 41 42 class RegExp; 42 43 class VM; 43 44 class ExecutableBase; … … 69 70 Executable, 70 71 Host, 72 RegExp, 71 73 C, 72 74 Unknown … … 86 88 ExecutableBase* executable { nullptr }; 87 89 JSObject* callee { nullptr }; 90 RegExp* regExp { nullptr }; 88 91 89 92 struct CodeLocation { … … 142 145 bool topFrameIsLLInt; 143 146 void* llintPC; 147 RegExp* regExp; 144 148 Vector<UnprocessedStackFrame> frames; 145 149 }; … … 157 161 158 162 SamplingProfiler(VM&, RefPtr<Stopwatch>&&); 159 ~SamplingProfiler() ;163 ~SamplingProfiler() = default; 160 164 void noticeJSLockAcquisition(); 161 165 void noticeVMEntry(); … … 186 190 void createThreadIfNecessary(const AbstractLocker&); 187 191 void timerLoop(); 188 void takeSample(const AbstractLocker&, Seconds& stackTraceProcessingTime);192 Seconds takeSample(const AbstractLocker&); 189 193 190 194 VM& m_vm; … … 198 202 RefPtr<Thread> m_thread; 199 203 RefPtr<Thread> m_jscExecutionThread; 200 bool m_isPaused ;201 bool m_isShutDown ;204 bool m_isPaused { false }; 205 bool m_isShutDown { false }; 202 206 bool m_needsReportAtExit { false }; 203 207 HashSet<JSCell*> m_liveCellPointers;
Note:
See TracChangeset
for help on using the changeset viewer.