| Line | Source | Count | 
|---|
| 1 |  | - | 
| 2 |  | - | 
| 3 |  | - | 
| 4 | const QLoggingCategory &lcGcStats() { static const QLoggingCategory category("qt.qml.gc.statistics"); return executed 99210 times by 153 testscategory;:  return category;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 99210 times by 153 tests}:  return category;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 99210 | 
| 5 | extern const QLoggingCategory &lcGcStats(); | - | 
| 6 | const QLoggingCategory &lcGcAllocatorStats() { static const QLoggingCategory category("qt.qml.gc.allocatorStats"); return executed 99214 times by 153 testscategory;:  return category;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 99214 times by 153 tests}:  return category;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 99214 | 
| 7 | extern const QLoggingCategory &lcGcAllocatorStats(); | - | 
| 8 |  | - | 
| 9 | using namespace WTF; | - | 
| 10 |  | - | 
| 11 |  | - | 
| 12 |  | - | 
| 13 | namespace QV4 { | - | 
| 14 |  | - | 
| 15 | enum { | - | 
| 16 | MinSlotsGCLimit = QV4::Chunk::AvailableSlots*16, | - | 
| 17 | GCOverallocation = 200 | - | 
| 18 | }; | - | 
| 19 |  | - | 
| 20 | struct MemorySegment { | - | 
| 21 | enum { | - | 
| 22 | NumChunks = 8*sizeof(quint64), | - | 
| 23 | SegmentSize = NumChunks*Chunk::ChunkSize, | - | 
| 24 | }; | - | 
| 25 |  | - | 
| 26 | MemorySegment(size_t size) | - | 
| 27 | { | - | 
| 28 | size += Chunk::ChunkSize; | - | 
| 29 | if (size < SegmentSize )| TRUE | evaluated 99134 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 12 times by 1 test | 
 | 12-99134 | 
| 30 | size = SegmentSize; executed 99133 times by 153 tests:  size = SegmentSize;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 99133 | 
| 31 |  | - | 
| 32 | pageReservation = PageReservation::reserve(size, OSAllocator::JSGCHeapPages); | - | 
| 33 | base = reinterpret_cast<Chunk *>((reinterpret_cast<quintptr>(pageReservation.base()) + Chunk::ChunkSize - 1) & ~(Chunk::ChunkSize - 1)); | - | 
| 34 | nChunks = NumChunks; | - | 
| 35 | availableBytes = size - (reinterpret_cast<quintptr>(base) - reinterpret_cast<quintptr>(pageReservation.base())); | - | 
| 36 | if (availableBytes < SegmentSize )| TRUE | evaluated 54679 times by 152 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 44581 times by 67 tests Evaluated by:tst_ecmascriptteststst_examplestst_parserstresstst_qjsenginetst_qjsvaluetst_qqmlapplicationenginetst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmlecmascripttst_qqmlexpressiontst_qqmlfileselectortst_qqmlincubatortst_qqmlinfotst_qqmllistmodeltst_qqmllistmodelworkerscripttst_qqmlmetaobjecttst_qqmlnotifiertst_qqmlprofilerservicetst_qqmlpropertytst_qqmlpropertymaptst_qqmlsqldatabase...
 | 
 | 44581-54679 | 
| 37 | -- executed 54679 times by 152 testsnChunks;:  --nChunks;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 54679 times by 152 tests:  --nChunks;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 54679 | 
| 38 | } executed 99259 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 99259 | 
| 39 | MemorySegment(MemorySegment &&other) { | - | 
| 40 | qSwap(pageReservation, other.pageReservation); | - | 
| 41 | qSwap(base, other.base); | - | 
| 42 | qSwap(allocatedMap, other.allocatedMap); | - | 
| 43 | qSwap(availableBytes, other.availableBytes); | - | 
| 44 | qSwap(nChunks, other.nChunks); | - | 
| 45 | } executed 99323 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 99323 | 
| 46 |  | - | 
| 47 | ~MemorySegment() { | - | 
| 48 | if (base )| TRUE | evaluated 99254 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 99264 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 99254-99264 | 
| 49 | pageReservation.deallocate(); executed 99253 times by 153 tests:  pageReservation.deallocate();Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 99253 | 
| 50 | } executed 198537 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 198537 | 
| 51 |  | - | 
| 52 | void setBit(size_t index) { | - | 
| 53 | ((index < nChunks) ? static_cast<void>(0) : qt_assert("index < nChunks", __FILE__, 145)); | - | 
| 54 | quint64 bit = static_cast<quint64>(1) << index; | - | 
| 55 |  | - | 
| 56 | allocatedMap |= bit; | - | 
| 57 | } executed 499047 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 499047 | 
| 58 | void clearBit(size_t index) { | - | 
| 59 | ((index < nChunks) ? static_cast<void>(0) : qt_assert("index < nChunks", __FILE__, 151)); | - | 
| 60 | quint64 bit = static_cast<quint64>(1) << index; | - | 
| 61 |  | - | 
| 62 | allocatedMap &= ~bit; | - | 
| 63 | } executed 499692 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 499692 | 
| 64 | bool testBit(size_t index) const { | - | 
| 65 | ((index < nChunks) ? static_cast<void>(0) : qt_assert("index < nChunks", __FILE__, 157)); | - | 
| 66 | quint64 bit = static_cast<quint64>(1) << index; | - | 
| 67 | return executed 5292742 times by 153 tests(allocatedMap & bit);:  return (allocatedMap & bit);Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 5292742 times by 153 tests:  return (allocatedMap & bit);Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 5292742 | 
| 68 | } | - | 
| 69 |  | - | 
| 70 | Chunk *allocate(size_t size); | - | 
| 71 | void free(Chunk *chunk, size_t size) { | - | 
| 72 | if (1) ; executed 498955 times by 153 testselse QMessageLogger(__FILE__, 164, __PRETTY_FUNCTION__).debug() << "MM:" << "freeing chunk" << chunk;:  ;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 dead code: QMessageLogger(__FILE__, 164, __PRETTY_FUNCTION__).debug() << "MM:" << "freeing chunk" << chunk; | - | 
| 73 | size_t index = static_cast<size_t>(chunk - base); | - | 
| 74 | size_t end = qMin(static_cast<size_t>(NumChunks), index + (size - 1)/Chunk::ChunkSize + 1); | - | 
| 75 | while (index < end ) {| TRUE | evaluated 499726 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 498929 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 498929-499726 | 
| 76 | ((testBit(index)) ? static_cast<void>(0) : qt_assert("testBit(index)", __FILE__, 168)); | - | 
| 77 | clearBit(index); | - | 
| 78 | ++index; | - | 
| 79 | } executed 499692 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 499692 | 
| 80 |  | - | 
| 81 | size_t pageSize = WTF::pageSize(); | - | 
| 82 | size = (size + pageSize - 1) & ~(pageSize - 1); | - | 
| 83 |  | - | 
| 84 |  | - | 
| 85 |  | - | 
| 86 |  | - | 
| 87 |  | - | 
| 88 |  | - | 
| 89 |  | - | 
| 90 | pageReservation.decommit(chunk, size); | - | 
| 91 | } executed 498944 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 498944 | 
| 92 |  | - | 
| 93 | bool contains(Chunk *c) const { | - | 
| 94 | return executed 551715 times by 153 testsc >= base && c < base + nChunks;:  return c >= base && c < base + nChunks;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 551715 times by 153 tests:  return c >= base && c < base + nChunks;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 551715 | 
| 95 | } | - | 
| 96 |  | - | 
| 97 | PageReservation pageReservation; | - | 
| 98 | Chunk *base = nullptr; | - | 
| 99 | quint64 allocatedMap = 0; | - | 
| 100 | size_t availableBytes = 0; | - | 
| 101 | uint nChunks = 0; | - | 
| 102 | }; | - | 
| 103 |  | - | 
| 104 | Chunk *MemorySegment::allocate(size_t size) | - | 
| 105 | { | - | 
| 106 | if (!allocatedMap && size >= SegmentSize| TRUE | evaluated 99231 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 438538 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
) {| TRUE | evaluated 12 times by 1 test |  | FALSE | evaluated 99212 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 12-438538 | 
| 107 |  | - | 
| 108 | ((availableBytes >= size) ? static_cast<void>(0) : qt_assert("availableBytes >= size", __FILE__, 200)); | - | 
| 109 | pageReservation.commit(base, size); | - | 
| 110 | allocatedMap = ~static_cast<quintptr>(0); | - | 
| 111 | return executed 12 times by 1 testbase;:  return base; executed 12 times by 1 test:  return base; | 12 | 
| 112 | } | - | 
| 113 | size_t requiredChunks = (size + sizeof(Chunk) - 1)/sizeof(Chunk); | - | 
| 114 | uint sequence = 0; | - | 
| 115 | Chunk *candidate = nullptr; | - | 
| 116 | for (uint i = 0; i < nChunks ; ++i) {| TRUE | evaluated 4792977 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 40771 times by 2 tests Evaluated by:tst_qqmlecmascripttst_qqmlnotifier
 | 
 | 40771-4792977 | 
| 117 | if (!testBit(i) ) {| TRUE | evaluated 498518 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 4294868 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 498518-4294868 | 
| 118 | if (!candidate )| TRUE | evaluated 498549 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 14 times by 1 test | 
 | 14-498549 | 
| 119 | candidate = base + i; executed 498590 times by 153 tests:  candidate = base + i;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 498590 | 
| 120 | ++sequence; | - | 
| 121 | } executed 498744 times by 153 testselse {:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 498744 | 
| 122 | candidate = nullptr; | - | 
| 123 | sequence = 0; | - | 
| 124 | } executed 4294966 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 4294966 | 
| 125 | if (sequence == requiredChunks ) {| TRUE | evaluated 498734 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 4295997 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 498734-4295997 | 
| 126 | pageReservation.commit(candidate, size); | - | 
| 127 | for (uint i = 0; i < requiredChunks ; ++i)| TRUE | evaluated 499044 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 499036 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 499036-499044 | 
| 128 | setBit(candidate - base + i); executed 499044 times by 153 tests:  setBit(candidate - base + i);Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 499044 | 
| 129 | if (1) ; executed 499036 times by 153 testselse QMessageLogger(__FILE__, 221, __PRETTY_FUNCTION__).debug() << "MM:" << "allocated chunk " << candidate << hex << size;:  ;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 dead code: QMessageLogger(__FILE__, 221, __PRETTY_FUNCTION__).debug() << "MM:" << "allocated chunk " << candidate << hex << size; | - | 
| 130 | return executed 499037 times by 153 testscandidate;:  return candidate;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 499037 times by 153 tests:  return candidate;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 499037 | 
| 131 | } | - | 
| 132 | } executed 4296410 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 4296410 | 
| 133 | return executed 40771 times by 2 testsnullptr;:  return nullptr;Executed by:tst_qqmlecmascripttst_qqmlnotifier
 executed 40771 times by 2 tests:  return nullptr;Executed by:tst_qqmlecmascripttst_qqmlnotifier
 | 40771 | 
| 134 | } | - | 
| 135 |  | - | 
| 136 | struct ChunkAllocator { | - | 
| 137 | ChunkAllocator() {} | - | 
| 138 |  | - | 
| 139 | size_t requiredChunkSize(size_t size) { | - | 
| 140 | size += Chunk::HeaderSize; | - | 
| 141 | size_t pageSize = WTF::pageSize(); | - | 
| 142 | size = (size + pageSize - 1) & ~(pageSize - 1); | - | 
| 143 | if (size < Chunk::ChunkSize )| TRUE | evaluated 996339 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 12 times by 1 test | 
 | 12-996339 | 
| 144 | size = Chunk::ChunkSize; executed 996326 times by 153 tests:  size = Chunk::ChunkSize;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 996326 | 
| 145 | return executed 996461 times by 153 testssize;:  return size;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 996461 times by 153 tests:  return size;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 996461 | 
| 146 | } | - | 
| 147 |  | - | 
| 148 | Chunk *allocate(size_t size = 0); | - | 
| 149 | void free(Chunk *chunk, size_t size = 0); | - | 
| 150 |  | - | 
| 151 | std::vector<MemorySegment> memorySegments; | - | 
| 152 | }; | - | 
| 153 |  | - | 
| 154 | Chunk *ChunkAllocator::allocate(size_t size) | - | 
| 155 | { | - | 
| 156 | size = requiredChunkSize(size); | - | 
| 157 | for (auto &m : memorySegments) { | - | 
| 158 | if (~m.allocatedMap ) {| TRUE | evaluated 440075 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 11987 times by 1 test | 
 | 11987-440075 | 
| 159 | Chunk *c = m.allocate(size); | - | 
| 160 | if (c )| TRUE | evaluated 399775 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 40771 times by 2 tests Evaluated by:tst_qqmlecmascripttst_qqmlnotifier
 | 
 | 40771-399775 | 
| 161 | return executed 399777 times by 153 testsc;:  return c;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 399777 times by 153 tests:  return c;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 399777 | 
| 162 | } executed 40771 times by 2 tests:  end of blockExecuted by:tst_qqmlecmascripttst_qqmlnotifier
 | 40771 | 
| 163 | } executed 52758 times by 2 tests:  end of blockExecuted by:tst_qqmlecmascripttst_qqmlnotifier
 | 52758 | 
| 164 |  | - | 
| 165 |  | - | 
| 166 | memorySegments.push_back(MemorySegment(size)); | - | 
| 167 | Chunk *c = memorySegments.back().allocate(size); | - | 
| 168 | ((c) ? static_cast<void>(0) : qt_assert("c", __FILE__, 260)); | - | 
| 169 | return executed 99256 times by 153 testsc;:  return c;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 99256 times by 153 tests:  return c;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 99256 | 
| 170 | } | - | 
| 171 |  | - | 
| 172 | void ChunkAllocator::free(Chunk *chunk, size_t size) | - | 
| 173 | { | - | 
| 174 | size = requiredChunkSize(size); | - | 
| 175 | for (auto &m : memorySegments) { | - | 
| 176 | if (m.contains(chunk) ) {| TRUE | evaluated 498945 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 52758 times by 2 tests Evaluated by:tst_qqmlecmascripttst_qqmlnotifier
 | 
 | 52758-498945 | 
| 177 | m.free(chunk, size); | - | 
| 178 | return; executed 498936 times by 153 tests:  return;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 498936 | 
| 179 | } | - | 
| 180 | } executed 52758 times by 2 tests:  end of blockExecuted by:tst_qqmlecmascripttst_qqmlnotifier
 | 52758 | 
| 181 | ((false) ? static_cast<void>(0) : qt_assert("false", __FILE__, 273)); | - | 
| 182 | } never executed: end of block | 0 | 
| 183 | QString binary(quintptr) { return never executed: QString();return QString(); never executed: }return QString(); | 0 | 
| 184 |  | - | 
| 185 |  | - | 
| 186 |  | - | 
| 187 |  | - | 
| 188 | typedef QHash<const char*, int> MMStatsHash; | - | 
| 189 | namespace { namespace Q_QGS_freedObjectStatsGlobal { typedef MMStatsHash Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized ) guard.store(QtGlobalStatic::Destroyed);| TRUE | evaluated 2 times by 1 test |  | FALSE | never evaluated | 
executed 2 times by 1 test}:  guard.store(QtGlobalStatic::Destroyed); executed 2 times by 1 test}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; return:  end of block executed 2 times by 1 test&holder.value;:  return &holder.value; executed 2 times by 1 test} } } static QGlobalStatic<MMStatsHash, Q_QGS_freedObjectStatsGlobal::innerFunction, Q_QGS_freedObjectStatsGlobal::guard> freedObjectStatsGlobal;:  return &holder.value; | 0-2 | 
| 190 |  | - | 
| 191 |  | - | 
| 192 |  | - | 
| 193 | static void increaseFreedCountForClass(const char *className) | - | 
| 194 | { | - | 
| 195 | (*freedObjectStatsGlobal())[className]++; | - | 
| 196 | } never executed: end of block | 0 | 
| 197 |  | - | 
| 198 |  | - | 
| 199 | bool Chunk::sweep(ExecutionEngine *engine) | - | 
| 200 | { | - | 
| 201 | bool hasUsedSlots = false; | - | 
| 202 | if (1) ; executed 175971 times by 26 testselse QMessageLogger(__FILE__, 304, __PRETTY_FUNCTION__).debug() << "sweeping chunk" << this;:  ;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 dead code: QMessageLogger(__FILE__, 304, __PRETTY_FUNCTION__).debug() << "sweeping chunk" << this; | - | 
| 203 | HeapItem *o = realBase(); | - | 
| 204 | bool lastSlotFree = false; | - | 
| 205 | for (uint i = 0; i < Chunk::EntriesInBitmap ; ++i) {| TRUE | evaluated 5630049 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 175971 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
 | 175971-5630049 | 
| 206 |  | - | 
| 207 | (((grayBitmap[i] | blackBitmap[i]) == blackBitmap[i]) ? static_cast<void>(0) : qt_assert("(grayBitmap[i] | blackBitmap[i]) == blackBitmap[i]", __FILE__, 309)); | - | 
| 208 |  | - | 
| 209 | quintptr toFree = objectBitmap[i] ^ blackBitmap[i]; | - | 
| 210 | (((toFree & objectBitmap[i]) == toFree) ? static_cast<void>(0) : qt_assert("(toFree & objectBitmap[i]) == toFree", __FILE__, 312)); | - | 
| 211 | quintptr e = extendsBitmap[i]; | - | 
| 212 | if (1) ; executed 5630049 times by 26 testselse QMessageLogger(__FILE__, 314, __PRETTY_FUNCTION__).debug() << "   index=" << i;:  ;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 dead code: QMessageLogger(__FILE__, 314, __PRETTY_FUNCTION__).debug() << " index=" << i; | - | 
| 213 | if (1) ; executed 5630020 times by 26 testselse QMessageLogger(__FILE__, 315, __PRETTY_FUNCTION__).debug() << "        toFree      =" << binary(toFree);:  ;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 dead code: QMessageLogger(__FILE__, 315, __PRETTY_FUNCTION__).debug() << " toFree =" << binary(toFree); | - | 
| 214 | if (1) ; executed 5630083 times by 26 testselse QMessageLogger(__FILE__, 316, __PRETTY_FUNCTION__).debug() << "        black       =" << binary(blackBitmap[i]);:  ;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 dead code: QMessageLogger(__FILE__, 316, __PRETTY_FUNCTION__).debug() << " black =" << binary(blackBitmap[i]); | - | 
| 215 | if (1) ; executed 5630114 times by 26 testselse QMessageLogger(__FILE__, 317, __PRETTY_FUNCTION__).debug() << "        object      =" << binary(objectBitmap[i]);:  ;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 dead code: QMessageLogger(__FILE__, 317, __PRETTY_FUNCTION__).debug() << " object =" << binary(objectBitmap[i]); | - | 
| 216 | if (1) ; executed 5630169 times by 26 testselse QMessageLogger(__FILE__, 318, __PRETTY_FUNCTION__).debug() << "        extends     =" << binary(e);:  ;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 dead code: QMessageLogger(__FILE__, 318, __PRETTY_FUNCTION__).debug() << " extends =" << binary(e); | - | 
| 217 | if (lastSlotFree )| TRUE | evaluated 4234432 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 1395951 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
 | 1395951-4234432 | 
| 218 | e &= (e + 1); executed 4234408 times by 26 tests:  e &= (e + 1);Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 4234408 | 
| 219 | while (toFree ) {| TRUE | evaluated 142861110 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 5630125 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
 | 5630125-142861110 | 
| 220 | uint index = qCountTrailingZeroBits(toFree); | - | 
| 221 | quintptr bit = (static_cast<quintptr>(1) << index); | - | 
| 222 |  | - | 
| 223 | toFree ^= bit; | - | 
| 224 |  | - | 
| 225 |  | - | 
| 226 |  | - | 
| 227 |  | - | 
| 228 | quintptr mask = (bit << 1) - 1; | - | 
| 229 | quintptr objmask = e | mask; | - | 
| 230 | quintptr result = objmask + 1; | - | 
| 231 | ((qCountTrailingZeroBits(result) - index != 0) ? static_cast<void>(0) : qt_assert("qCountTrailingZeroBits(result) - index != 0", __FILE__, 333)); | - | 
| 232 | result |= mask; | - | 
| 233 | e &= result; | - | 
| 234 |  | - | 
| 235 | HeapItem *itemToFree = o + index; | - | 
| 236 | Heap::Base *b = *itemToFree; | - | 
| 237 | const VTable *v = b->internalClass->vtable; | - | 
| 238 |  | - | 
| 239 |  | - | 
| 240 | if (v->destroy ) {| TRUE | evaluated 131390126 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 11395930 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
 | 11395930-131390126 | 
| 241 | v->destroy(b); | - | 
| 242 | b->_checkIsDestroyed(); | - | 
| 243 | } executed 131606555 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 131606555 | 
| 244 |  | - | 
| 245 |  | - | 
| 246 |  | - | 
| 247 | } executed 142856297 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 142856297 | 
| 248 | (engine->profiler() && (engine->profiler()->featuresEnabled & (1 << Profiling::FeatureMemoryAllocation)) ? engine->profiler()->trackDealloc(qPopulationCount((objectBitmap[i] | extendsBitmap[i]) - (blackBitmap[i] | e)) * Chunk::SlotSize, Profiling::SmallItem) : false) | - | 
| 249 |  | - | 
| 250 | ; | - | 
| 251 | objectBitmap[i] = blackBitmap[i]; | - | 
| 252 | grayBitmap[i] = 0; | - | 
| 253 | hasUsedSlots |= (blackBitmap[i] != 0); | - | 
| 254 | extendsBitmap[i] = e; | - | 
| 255 | lastSlotFree = !((objectBitmap[i]|extendsBitmap[i]) >> (sizeof(quintptr)*8 - 1)); | - | 
| 256 | if (1) ; executed 5629953 times by 26 testselse QMessageLogger(__FILE__, 358, __PRETTY_FUNCTION__).debug() << "        new extends =" << binary(e);:  ;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 dead code: QMessageLogger(__FILE__, 358, __PRETTY_FUNCTION__).debug() << " new extends =" << binary(e); | - | 
| 257 | if (1) ; executed 5630004 times by 26 testselse QMessageLogger(__FILE__, 359, __PRETTY_FUNCTION__).debug() << "        lastSlotFree" << lastSlotFree;:  ;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 dead code: QMessageLogger(__FILE__, 359, __PRETTY_FUNCTION__).debug() << " lastSlotFree" << lastSlotFree; | - | 
| 258 | (((objectBitmap[i] & extendsBitmap[i]) == 0) ? static_cast<void>(0) : qt_assert("(objectBitmap[i] & extendsBitmap[i]) == 0", __FILE__, 360)); | - | 
| 259 | o += Chunk::Bits; | - | 
| 260 | } executed 5630069 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 5630069 | 
| 261 |  | - | 
| 262 | return executed 175971 times by 26 testshasUsedSlots;:  return hasUsedSlots;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 executed 175971 times by 26 tests:  return hasUsedSlots;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 175971 | 
| 263 | } | - | 
| 264 |  | - | 
| 265 | void Chunk::freeAll(ExecutionEngine *engine) | - | 
| 266 | { | - | 
| 267 |  | - | 
| 268 | HeapItem *o = realBase(); | - | 
| 269 | for (uint i = 0; i < Chunk::EntriesInBitmap ; ++i) {| TRUE | evaluated 13356056 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 417659 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 417659-13356056 | 
| 270 | quintptr toFree = objectBitmap[i]; | - | 
| 271 | quintptr e = extendsBitmap[i]; | - | 
| 272 |  | - | 
| 273 | while (toFree ) {| TRUE | evaluated 238290010 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 13358264 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 13358264-238290010 | 
| 274 | uint index = qCountTrailingZeroBits(toFree); | - | 
| 275 | quintptr bit = (static_cast<quintptr>(1) << index); | - | 
| 276 |  | - | 
| 277 | toFree ^= bit; | - | 
| 278 |  | - | 
| 279 |  | - | 
| 280 |  | - | 
| 281 |  | - | 
| 282 | quintptr mask = (bit << 1) - 1; | - | 
| 283 | quintptr objmask = e | mask; | - | 
| 284 | quintptr result = objmask + 1; | - | 
| 285 | ((qCountTrailingZeroBits(result) - index != 0) ? static_cast<void>(0) : qt_assert("qCountTrailingZeroBits(result) - index != 0", __FILE__, 387)); | - | 
| 286 | result |= mask; | - | 
| 287 | e &= result; | - | 
| 288 |  | - | 
| 289 | HeapItem *itemToFree = o + index; | - | 
| 290 | Heap::Base *b = *itemToFree; | - | 
| 291 | if (b->internalClass->vtable->destroy ) {| TRUE | evaluated 183217395 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 55494454 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 55494454-183217395 | 
| 292 | b->internalClass->vtable->destroy(b); | - | 
| 293 | b->_checkIsDestroyed(); | - | 
| 294 | } executed 183530519 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 183530519 | 
| 295 |  | - | 
| 296 |  | - | 
| 297 |  | - | 
| 298 | } executed 238276492 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 238276492 | 
| 299 | (engine->profiler() && (engine->profiler()->featuresEnabled & (1 << Profiling::FeatureMemoryAllocation)) ? engine->profiler()->trackDealloc((qPopulationCount(objectBitmap[i]|extendsBitmap[i]) - qPopulationCount(e)) * Chunk::SlotSize, Profiling::SmallItem) : false) | - | 
| 300 | ; | - | 
| 301 | objectBitmap[i] = 0; | - | 
| 302 | grayBitmap[i] = 0; | - | 
| 303 | extendsBitmap[i] = e; | - | 
| 304 | o += Chunk::Bits; | - | 
| 305 | } executed 13356796 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 13356796 | 
| 306 |  | - | 
| 307 | } executed 417647 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 417647 | 
| 308 |  | - | 
| 309 | void Chunk::resetBlackBits() | - | 
| 310 | { | - | 
| 311 | memset(blackBitmap, 0, sizeof(blackBitmap)); | - | 
| 312 | } executed 94682 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 94682 | 
| 313 |  | - | 
| 314 | void Chunk::collectGrayItems(MarkStack *markStack) | - | 
| 315 | { | - | 
| 316 |  | - | 
| 317 | HeapItem *o = realBase(); | - | 
| 318 | for (uint i = 0; i < Chunk::EntriesInBitmap ; ++i) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 319 |  | - | 
| 320 | (((grayBitmap[i] | blackBitmap[i]) == blackBitmap[i]) ? static_cast<void>(0) : qt_assert("(grayBitmap[i] | blackBitmap[i]) == blackBitmap[i]", __FILE__, 422)); | - | 
| 321 |  | - | 
| 322 | quintptr toMark = blackBitmap[i] & grayBitmap[i]; | - | 
| 323 | (((toMark & objectBitmap[i]) == toMark) ? static_cast<void>(0) : qt_assert("(toMark & objectBitmap[i]) == toMark", __FILE__, 425)); | - | 
| 324 |  | - | 
| 325 | while (toMark ) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 326 | uint index = qCountTrailingZeroBits(toMark); | - | 
| 327 | quintptr bit = (static_cast<quintptr>(1) << index); | - | 
| 328 |  | - | 
| 329 | toMark ^= bit; | - | 
| 330 |  | - | 
| 331 |  | - | 
| 332 | HeapItem *itemToFree = o + index; | - | 
| 333 | Heap::Base *b = *itemToFree; | - | 
| 334 | ((b->inUse()) ? static_cast<void>(0) : qt_assert("b->inUse()", __FILE__, 436)); | - | 
| 335 | markStack->push(b); | - | 
| 336 | } never executed: end of block | 0 | 
| 337 | grayBitmap[i] = 0; | - | 
| 338 | o += Chunk::Bits; | - | 
| 339 | } never executed: end of block | 0 | 
| 340 |  | - | 
| 341 |  | - | 
| 342 | } never executed: end of block | 0 | 
| 343 |  | - | 
| 344 | void Chunk::sortIntoBins(HeapItem **bins, uint nBins) | - | 
| 345 | { | - | 
| 346 |  | - | 
| 347 | HeapItem *base = realBase(); | - | 
| 348 |  | - | 
| 349 | const int start = 0; | - | 
| 350 |  | - | 
| 351 |  | - | 
| 352 |  | - | 
| 353 |  | - | 
| 354 | uint freeSlots = 0; | - | 
| 355 | uint allocatedSlots = 0; | - | 
| 356 |  | - | 
| 357 | for (int i = start; i < EntriesInBitmap ; ++i) {| TRUE | evaluated 1314673 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 94682 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
 | 94682-1314673 | 
| 358 | quintptr usedSlots = (objectBitmap[i]|extendsBitmap[i]); | - | 
| 359 |  | - | 
| 360 | if (!i )| TRUE | evaluated 94682 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 1219992 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
 | 94682-1219992 | 
| 361 | usedSlots |= (static_cast<quintptr>(1) << (HeaderSize/SlotSize)) - 1; executed 94682 times by 26 tests:  usedSlots |= (static_cast<quintptr>(1) << (HeaderSize/SlotSize)) - 1;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 94682 | 
| 362 |  | - | 
| 363 |  | - | 
| 364 | allocatedSlots += qPopulationCount(usedSlots); | - | 
| 365 |  | - | 
| 366 |  | - | 
| 367 | while (1) { | - | 
| 368 | uint index = qCountTrailingZeroBits(usedSlots + 1); | - | 
| 369 | if (index == Bits )| TRUE | evaluated 1314673 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 2404866 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
 | 1314673-2404866 | 
| 370 | break; executed 1314673 times by 26 tests:  break;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 1314673 | 
| 371 | uint freeStart = i*Bits + index; | - | 
| 372 | usedSlots &= ~((static_cast<quintptr>(1) << index) - 1); | - | 
| 373 | while (!usedSlots ) {| TRUE | evaluated 1779811 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 2340197 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
 | 1779811-2340197 | 
| 374 | ++i; | - | 
| 375 | if (i == EntriesInBitmap ) {| TRUE | evaluated 64688 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 1715128 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
 | 64688-1715128 | 
| 376 | usedSlots = (quintptr)-1; | - | 
| 377 | break; executed 64688 times by 26 tests:  break;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 64688 | 
| 378 | } | - | 
| 379 | usedSlots = (objectBitmap[i]|extendsBitmap[i]); | - | 
| 380 |  | - | 
| 381 | allocatedSlots += qPopulationCount(usedSlots); | - | 
| 382 |  | - | 
| 383 |  | - | 
| 384 | } executed 1715129 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 1715129 | 
| 385 | HeapItem *freeItem = base + freeStart; | - | 
| 386 |  | - | 
| 387 | index = qCountTrailingZeroBits(usedSlots); | - | 
| 388 | usedSlots |= (quintptr(1) << index) - 1; | - | 
| 389 | uint freeEnd = i*Bits + index; | - | 
| 390 | uint nSlots = freeEnd - freeStart; | - | 
| 391 |  | - | 
| 392 |  | - | 
| 393 | freeSlots += nSlots; | - | 
| 394 |  | - | 
| 395 | ((freeEnd > freeStart && freeEnd <= NumSlots) ? static_cast<void>(0) : qt_assert("freeEnd > freeStart && freeEnd <= NumSlots", __FILE__, 497)); | - | 
| 396 | freeItem->freeData.availableSlots = nSlots; | - | 
| 397 | uint bin = qMin(nBins - 1, nSlots); | - | 
| 398 | freeItem->freeData.next = bins[bin]; | - | 
| 399 | bins[bin] = freeItem; | - | 
| 400 | } executed 2404861 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 2404861 | 
| 401 | } executed 1314673 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 1314673 | 
| 402 |  | - | 
| 403 | ((freeSlots + allocatedSlots == (EntriesInBitmap - start) * 8 * sizeof(quintptr)) ? static_cast<void>(0) : qt_assert("freeSlots + allocatedSlots == (EntriesInBitmap - start) * 8 * sizeof(quintptr)", __FILE__, 505)); | - | 
| 404 |  | - | 
| 405 | } executed 94681 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 94681 | 
| 406 |  | - | 
| 407 | HeapItem *BlockAllocator::allocate(size_t size, bool forceAllocation) { | - | 
| 408 | (((size % Chunk::SlotSize) == 0) ? static_cast<void>(0) : qt_assert("(size % Chunk::SlotSize) == 0", __FILE__, 510)); | - | 
| 409 | size_t slotsRequired = size >> Chunk::SlotSizeShift; | - | 
| 410 |  | - | 
| 411 | if (allocationStats )| TRUE | evaluated 3554 times by 1 test |  | FALSE | evaluated 374899521 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 3554-374899521 | 
| 412 | ++ executed 3554 times by 1 testallocationStats[binForSlots(slotsRequired)];:  ++allocationStats[binForSlots(slotsRequired)]; executed 3554 times by 1 test:  ++allocationStats[binForSlots(slotsRequired)]; | 3554 | 
| 413 |  | - | 
| 414 | HeapItem **last; | - | 
| 415 |  | - | 
| 416 | HeapItem *m; | - | 
| 417 |  | - | 
| 418 | if (slotsRequired < NumBins - 1 ) {| TRUE | evaluated 374858148 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 2956134 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 2956134-374858148 | 
| 419 | m = freeBins[slotsRequired]; | - | 
| 420 | if (m ) {| TRUE | evaluated 1270058 times by 22 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 |  | FALSE | evaluated 373021313 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 1270058-373021313 | 
| 421 | freeBins[slotsRequired] = m->freeData.next; | - | 
| 422 | goto executed 1270094 times by 22 testsdone;:  goto done;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 executed 1270094 times by 22 tests:  goto done;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 1270094 | 
| 423 | } | - | 
| 424 | } executed 372714049 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 372714049 | 
| 425 |  | - | 
| 426 | if (nFree >= slotsRequired ) {| TRUE | evaluated 374121366 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 2216206 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 2216206-374121366 | 
| 427 |  | - | 
| 428 | ((nextFree) ? static_cast<void>(0) : qt_assert("nextFree", __FILE__, 530)); | - | 
| 429 | m = nextFree; | - | 
| 430 | nextFree += slotsRequired; | - | 
| 431 | nFree -= slotsRequired; | - | 
| 432 | goto executed 374612618 times by 153 testsdone;:  goto done;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 374612618 times by 153 tests:  goto done;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 374612618 | 
| 433 | } | - | 
| 434 |  | - | 
| 435 |  | - | 
| 436 |  | - | 
| 437 | last = &freeBins[NumBins - 1]; | - | 
| 438 | while (( m = *last)| TRUE | evaluated 1349741 times by 19 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 |  | FALSE | evaluated 1340706 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
) {| TRUE | evaluated 1349741 times by 19 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 |  | FALSE | evaluated 1340706 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 1340706-1349741 | 
| 439 | if (m->freeData.availableSlots >= slotsRequired ) {| TRUE | evaluated 874544 times by 19 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 |  | FALSE | evaluated 475244 times by 11 tests Evaluated by:tst_examplestst_qqmlqttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_quicktestmainwithsetuptst_testfiltering
 | 
 | 475244-874544 | 
| 440 | *last = m->freeData.next; | - | 
| 441 |  | - | 
| 442 | size_t remainingSlots = m->freeData.availableSlots - slotsRequired; | - | 
| 443 |  | - | 
| 444 | if (remainingSlots == 0 )| TRUE | evaluated 8 times by 2 tests Evaluated by:tst_qqmlqttst_qquickgridview
 |  | FALSE | evaluated 874542 times by 19 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 
 | 8-874542 | 
| 445 | goto executed 8 times by 2 testsdone;:  goto done;Executed by:tst_qqmlqttst_qquickgridview
 executed 8 times by 2 tests:  goto done;Executed by:tst_qqmlqttst_qquickgridview
 | 8 | 
| 446 |  | - | 
| 447 | HeapItem *remainder = m + slotsRequired; | - | 
| 448 | if (remainingSlots > nFree ) {| TRUE | evaluated 872742 times by 19 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 |  | FALSE | evaluated 1787 times by 5 tests Evaluated by:tst_ecmascriptteststst_examplestst_qqmlqttst_qquickgridviewtst_qquicklayouts
 | 
 | 1787-872742 | 
| 449 | if (nFree ) {| TRUE | evaluated 333297 times by 17 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 |  | FALSE | evaluated 539454 times by 19 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 
 | 333297-539454 | 
| 450 | size_t bin = binForSlots(nFree); | - | 
| 451 | nextFree->freeData.next = freeBins[bin]; | - | 
| 452 | nextFree->freeData.availableSlots = nFree; | - | 
| 453 | freeBins[bin] = nextFree; | - | 
| 454 | } executed 333292 times by 17 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 333292 | 
| 455 | nextFree = remainder; | - | 
| 456 | nFree = remainingSlots; | - | 
| 457 | } executed 872739 times by 19 testselse {:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 872739 | 
| 458 | remainder->freeData.availableSlots = remainingSlots; | - | 
| 459 | size_t binForRemainder = binForSlots(remainingSlots); | - | 
| 460 | remainder->freeData.next = freeBins[binForRemainder]; | - | 
| 461 | freeBins[binForRemainder] = remainder; | - | 
| 462 | } executed 1788 times by 5 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qqmlqttst_qquickgridviewtst_qquicklayouts
 | 1788 | 
| 463 | goto executed 874527 times by 19 testsdone;:  goto done;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 executed 874527 times by 19 tests:  goto done;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 874527 | 
| 464 | } | - | 
| 465 | last = &m->freeData.next; | - | 
| 466 | } executed 475244 times by 11 tests:  end of blockExecuted by:tst_examplestst_qqmlqttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_quicktestmainwithsetuptst_testfiltering
 | 475244 | 
| 467 |  | - | 
| 468 | if (slotsRequired < NumBins - 1 ) {| TRUE | evaluated 1332045 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 8696 times by 16 tests Evaluated by:tst_ecmascriptteststst_examplestst_qqmlecmascripttst_qqmlqttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquickitem2tst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickscreentst_quicktestmainwithsetuptst_testfiltering
 | 
 | 8696-1332045 | 
| 469 |  | - | 
| 470 | for (size_t i = slotsRequired + 1; i < NumBins - 1 ; ++i) {| TRUE | evaluated 3920822 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 786012 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 786012-3920822 | 
| 471 | m = freeBins[i]; | - | 
| 472 | if (m ) {| TRUE | evaluated 547458 times by 8 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qquickgridviewtst_qquicklistviewtst_qquickvisualdatamodel
 |  | FALSE | evaluated 3374199 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 547458-3374199 | 
| 473 | freeBins[i] = m->freeData.next; | - | 
| 474 |  | - | 
| 475 | size_t remainingSlots = i - slotsRequired; | - | 
| 476 | ((remainingSlots < NumBins - 1) ? static_cast<void>(0) : qt_assert("remainingSlots < NumBins - 1", __FILE__, 578)); | - | 
| 477 | HeapItem *remainder = m + slotsRequired; | - | 
| 478 | remainder->freeData.availableSlots = remainingSlots; | - | 
| 479 | remainder->freeData.next = freeBins[remainingSlots]; | - | 
| 480 | freeBins[remainingSlots] = remainder; | - | 
| 481 | goto executed 547442 times by 8 testsdone;:  goto done;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qquickgridviewtst_qquicklistviewtst_qquickvisualdatamodel
 executed 547442 times by 8 tests:  goto done;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qquickgridviewtst_qquicklistviewtst_qquickvisualdatamodel
 | 547442 | 
| 482 | } | - | 
| 483 | } executed 3374846 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 3374846 | 
| 484 | } executed 786138 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 786138 | 
| 485 |  | - | 
| 486 | if (!m ) {| TRUE | evaluated 794769 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | never evaluated | 
 | 0-794769 | 
| 487 | if (!forceAllocation )| TRUE | evaluated 295504 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 498383 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 295504-498383 | 
| 488 | return executed 295648 times by 153 testsnullptr;:  return nullptr;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 295648 times by 153 tests:  return nullptr;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 295648 | 
| 489 | Chunk *newChunk = chunkAllocator->allocate(); | - | 
| 490 | (engine->profiler() && (engine->profiler()->featuresEnabled & (1 << Profiling::FeatureMemoryAllocation)) ? engine->profiler()->trackAlloc(Chunk::DataSize, Profiling::HeapPage) : false); | - | 
| 491 | chunks.push_back(newChunk); | - | 
| 492 | nextFree = newChunk->first(); | - | 
| 493 | nFree = Chunk::AvailableSlots; | - | 
| 494 | m = nextFree; | - | 
| 495 | nextFree += slotsRequired; | - | 
| 496 | nFree -= slotsRequired; | - | 
| 497 | } executed 499004 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 499004 | 
| 498 |  | - | 
| 499 | done: code before this statement executed 499005 times by 153 tests:  done:Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 499005 | 
| 500 | m->setAllocatedSlots(slotsRequired); | - | 
| 501 | (engine->profiler() && (engine->profiler()->featuresEnabled & (1 << Profiling::FeatureMemoryAllocation)) ? engine->profiler()->trackAlloc(slotsRequired * Chunk::SlotSize, Profiling::SmallItem) : false); | - | 
| 502 |  | - | 
| 503 |  | - | 
| 504 |  | - | 
| 505 |  | - | 
| 506 | return executed 374152601 times by 153 testsm;:  return m;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 374152601 times by 153 tests:  return m;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 374152601 | 
| 507 | } | - | 
| 508 |  | - | 
| 509 | void BlockAllocator::sweep() | - | 
| 510 | { | - | 
| 511 | nextFree = nullptr; | - | 
| 512 | nFree = 0; | - | 
| 513 | memset(freeBins, 0, sizeof(freeBins)); | - | 
| 514 |  | - | 
| 515 |  | - | 
| 516 | usedSlotsAfterLastSweep = 0; | - | 
| 517 |  | - | 
| 518 | auto isFree = [this] (Chunk *c) { | - | 
| 519 | bool isUsed = c->sweep(engine); | - | 
| 520 |  | - | 
| 521 | if (isUsed ) {| TRUE | evaluated 94682 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 81290 times by 7 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qquickgridviewtst_qquicklistviewtst_qquickvisualdatamodel
 | 
 | 81290-94682 | 
| 522 | c->sortIntoBins(freeBins, NumBins); | - | 
| 523 | usedSlotsAfterLastSweep += c->nUsedSlots(); | - | 
| 524 | } executed 94682 times by 26 testselse {:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 94682 | 
| 525 | (engine->profiler() && (engine->profiler()->featuresEnabled & (1 << Profiling::FeatureMemoryAllocation)) ? engine->profiler()->trackDealloc(Chunk::DataSize, Profiling::HeapPage) : false); | - | 
| 526 | chunkAllocator->free(c); | - | 
| 527 | } executed 81290 times by 7 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qquickgridviewtst_qquicklistviewtst_qquickvisualdatamodel
 | 81290 | 
| 528 | return executed 175972 times by 26 tests!isUsed;:  return !isUsed;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 executed 175972 times by 26 tests:  return !isUsed;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 175972 | 
| 529 | }; | - | 
| 530 |  | - | 
| 531 | auto newEnd = std::remove_if(chunks.begin(), chunks.end(), isFree); | - | 
| 532 | chunks.erase(newEnd, chunks.end()); | - | 
| 533 | } executed 17708 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 17708 | 
| 534 |  | - | 
| 535 | void BlockAllocator::freeAll() | - | 
| 536 | { | - | 
| 537 | for (auto c : chunks) | - | 
| 538 | c->freeAll(engine); executed 417552 times by 153 tests:  c->freeAll(engine);Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 417552 | 
| 539 | for (auto c : chunks) { | - | 
| 540 | (engine->profiler() && (engine->profiler()->featuresEnabled & (1 << Profiling::FeatureMemoryAllocation)) ? engine->profiler()->trackDealloc(Chunk::DataSize, Profiling::HeapPage) : false); | - | 
| 541 | chunkAllocator->free(c); | - | 
| 542 | } executed 417630 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 417630 | 
| 543 | } executed 198384 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 198384 | 
| 544 |  | - | 
| 545 | void BlockAllocator::resetBlackBits() | - | 
| 546 | { | - | 
| 547 | for (auto c : chunks) | - | 
| 548 | c->resetBlackBits(); executed 94682 times by 26 tests:  c->resetBlackBits();Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 94682 | 
| 549 | } executed 17708 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 17708 | 
| 550 |  | - | 
| 551 | void BlockAllocator::collectGrayItems(MarkStack *markStack) | - | 
| 552 | { | - | 
| 553 | for (auto c : chunks) | - | 
| 554 | c->collectGrayItems(markStack); never executed: c->collectGrayItems(markStack); | 0 | 
| 555 |  | - | 
| 556 | } never executed: end of block | 0 | 
| 557 |  | - | 
| 558 | HeapItem *HugeItemAllocator::allocate(size_t size) { | - | 
| 559 | MemorySegment *m = nullptr; | - | 
| 560 | Chunk *c = nullptr; | - | 
| 561 | if (size >= MemorySegment::SegmentSize/2 ) {| TRUE | evaluated 12 times by 1 test |  | FALSE | evaluated 6 times by 1 test | 
 | 6-12 | 
| 562 |  | - | 
| 563 | size_t segmentSize = size + Chunk::HeaderSize; | - | 
| 564 | size_t pageSize = WTF::pageSize(); | - | 
| 565 | segmentSize = (segmentSize + pageSize - 1) & ~(pageSize - 1); | - | 
| 566 | m = new MemorySegment(segmentSize); | - | 
| 567 | size = (size + pageSize - 1) & ~(pageSize - 1); | - | 
| 568 | c = m->allocate(size); | - | 
| 569 | } executed 12 times by 1 testelse {:  end of block | 12 | 
| 570 | c = chunkAllocator->allocate(size); | - | 
| 571 | } executed 6 times by 1 test:  end of block | 6 | 
| 572 | ((c) ? static_cast<void>(0) : qt_assert("c", __FILE__, 674)); | - | 
| 573 | chunks.push_back(HugeChunk{m, c, size}); | - | 
| 574 | Chunk::setBit(c->objectBitmap, c->first() - c->realBase()); | - | 
| 575 | (engine->profiler() && (engine->profiler()->featuresEnabled & (1 << Profiling::FeatureMemoryAllocation)) ? engine->profiler()->trackAlloc(size, Profiling::LargeItem) : false); | - | 
| 576 |  | - | 
| 577 |  | - | 
| 578 |  | - | 
| 579 | return executed 18 times by 2 testsc->first();:  return c->first();Executed by:tst_ecmascriptteststst_qqmlecmascript
 executed 18 times by 2 tests:  return c->first();Executed by:tst_ecmascriptteststst_qqmlecmascript
 | 18 | 
| 580 | } | - | 
| 581 |  | - | 
| 582 | static void freeHugeChunk(ChunkAllocator *chunkAllocator, const HugeItemAllocator::HugeChunk &c, ClassDestroyStatsCallback classCountPtr) | - | 
| 583 | { | - | 
| 584 | HeapItem *itemToFree = c.chunk->first(); | - | 
| 585 | Heap::Base *b = *itemToFree; | - | 
| 586 | const VTable *v = b->internalClass->vtable; | - | 
| 587 | if (__builtin_expect(!!(classCountPtr), false) )| TRUE | never evaluated |  | FALSE | evaluated 18 times by 2 tests Evaluated by:tst_ecmascriptteststst_qqmlecmascript
 | 
 | 0-18 | 
| 588 | classCountPtr(v->className); never executed: classCountPtr(v->className); | 0 | 
| 589 |  | - | 
| 590 | if (v->destroy ) {| TRUE | evaluated 4 times by 1 test |  | FALSE | evaluated 14 times by 2 tests Evaluated by:tst_ecmascriptteststst_qqmlecmascript
 | 
 | 4-14 | 
| 591 | v->destroy(b); | - | 
| 592 | b->_checkIsDestroyed(); | - | 
| 593 | } executed 4 times by 1 test:  end of block | 4 | 
| 594 | if (c.segment ) {| TRUE | evaluated 12 times by 1 test |  | FALSE | evaluated 6 times by 1 test | 
 | 6-12 | 
| 595 |  | - | 
| 596 | c.segment->free(c.chunk, c.size); | - | 
| 597 | delete c.segment; | - | 
| 598 | } executed 12 times by 1 testelse {:  end of block | 12 | 
| 599 | chunkAllocator->free(c.chunk, c.size); | - | 
| 600 | } executed 6 times by 1 test:  end of block | 6 | 
| 601 |  | - | 
| 602 |  | - | 
| 603 |  | - | 
| 604 | } | - | 
| 605 |  | - | 
| 606 | void HugeItemAllocator::sweep(ClassDestroyStatsCallback classCountPtr) | - | 
| 607 | { | - | 
| 608 | auto isBlack = [this, classCountPtr] (const HugeChunk &c) { | - | 
| 609 | bool b = c.chunk->first()->isBlack(); | - | 
| 610 | Chunk::clearBit(c.chunk->blackBitmap, c.chunk->first() - c.chunk->realBase()); | - | 
| 611 | if (!b ) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 612 | (engine->profiler() && (engine->profiler()->featuresEnabled & (1 << Profiling::FeatureMemoryAllocation)) ? engine->profiler()->trackDealloc(c.size, Profiling::LargeItem) : false); | - | 
| 613 | freeHugeChunk(chunkAllocator, c, classCountPtr); | - | 
| 614 | } never executed: end of block | 0 | 
| 615 | return never executed: !b;return !b; never executed: return !b; | 0 | 
| 616 | }; | - | 
| 617 |  | - | 
| 618 | auto newEnd = std::remove_if(chunks.begin(), chunks.end(), isBlack); | - | 
| 619 | chunks.erase(newEnd, chunks.end()); | - | 
| 620 | } executed 8854 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 8854 | 
| 621 |  | - | 
| 622 | void HugeItemAllocator::resetBlackBits() | - | 
| 623 | { | - | 
| 624 | for (auto c : chunks) | - | 
| 625 | Chunk::clearBit(c.chunk->blackBitmap, c.chunk->first() - c.chunk->realBase()); never executed: Chunk::clearBit(c.chunk->blackBitmap, c.chunk->first() - c.chunk->realBase()); | 0 | 
| 626 | } executed 8854 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 8854 | 
| 627 |  | - | 
| 628 | void HugeItemAllocator::collectGrayItems(MarkStack *markStack) | - | 
| 629 | { | - | 
| 630 | for (auto c : chunks) | - | 
| 631 |  | - | 
| 632 | if (Chunk::testBit(c.chunk->blackBitmap, c.chunk->first() - c.chunk->realBase()) &&| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 633 | Chunk::testBit(c.chunk->grayBitmap, c.chunk->first() - c.chunk->realBase()) ) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 634 | HeapItem *i = c.chunk->first(); | - | 
| 635 | Heap::Base *b = *i; | - | 
| 636 | b->mark(markStack); | - | 
| 637 | } never executed: end of block | 0 | 
| 638 | } never executed: end of block | 0 | 
| 639 |  | - | 
| 640 | void HugeItemAllocator::freeAll() | - | 
| 641 | { | - | 
| 642 | for (auto &c : chunks) { | - | 
| 643 | (engine->profiler() && (engine->profiler()->featuresEnabled & (1 << Profiling::FeatureMemoryAllocation)) ? engine->profiler()->trackDealloc(c.size, Profiling::LargeItem) : false); | - | 
| 644 | freeHugeChunk(chunkAllocator, c, nullptr); | - | 
| 645 | } executed 18 times by 2 tests:  end of blockExecuted by:tst_ecmascriptteststst_qqmlecmascript
 | 18 | 
| 646 | } executed 99193 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 99193 | 
| 647 |  | - | 
| 648 |  | - | 
| 649 | MemoryManager::MemoryManager(ExecutionEngine *engine) | - | 
| 650 | : engine(engine) | - | 
| 651 | , chunkAllocator(new ChunkAllocator) | - | 
| 652 | , blockAllocator(chunkAllocator, engine) | - | 
| 653 | , icAllocator(chunkAllocator, engine) | - | 
| 654 | , hugeItemAllocator(chunkAllocator, engine) | - | 
| 655 | , m_persistentValues(new PersistentValueStorage(engine)) | - | 
| 656 | , m_weakValues(new PersistentValueStorage(engine)) | - | 
| 657 | , unmanagedHeapSizeGCLimit(std::size_t(128 * 1024)) | - | 
| 658 | , aggressiveGC(!qEnvironmentVariableIsEmpty("QV4_MM_AGGRESSIVE_GC")) | - | 
| 659 | , gcStats(lcGcStats().isDebugEnabled()) | - | 
| 660 | , gcCollectorStats(lcGcAllocatorStats().isDebugEnabled()) | - | 
| 661 | { | - | 
| 662 |  | - | 
| 663 |  | - | 
| 664 |  | - | 
| 665 | memset(statistics.allocations, 0, sizeof(statistics.allocations)); | - | 
| 666 | if (gcStats )| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 99206 times by 152 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 2-99206 | 
| 667 | blockAllocator.allocationStats = statistics.allocations; executed 2 times by 1 test:  blockAllocator.allocationStats = statistics.allocations; | 2 | 
| 668 | } executed 99208 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 99208 | 
| 669 |  | - | 
| 670 | Heap::Base *MemoryManager::allocString(std::size_t unmanagedSize) | - | 
| 671 | { | - | 
| 672 | const size_t stringSize = align(sizeof(Heap::String)); | - | 
| 673 |  | - | 
| 674 | lastAllocRequestedSlots = stringSize >> Chunk::SlotSizeShift; | - | 
| 675 | ++allocationCount; | - | 
| 676 |  | - | 
| 677 |  | - | 
| 678 | bool didGCRun = false; | - | 
| 679 | if (aggressiveGC ) {| TRUE | never evaluated |  | FALSE | evaluated 136322916 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 0-136322916 | 
| 680 | runGC(); | - | 
| 681 | didGCRun = true; | - | 
| 682 | } never executed: end of block | 0 | 
| 683 |  | - | 
| 684 | unmanagedHeapSize += unmanagedSize; | - | 
| 685 | if (unmanagedHeapSize > unmanagedHeapSizeGCLimit ) {| TRUE | evaluated 2808 times by 11 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlxmlhttprequesttst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickvisualdatamodeltst_scenegraph
 |  | FALSE | evaluated 136503744 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 2808-136503744 | 
| 686 | if (!didGCRun )| TRUE | evaluated 2808 times by 11 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlxmlhttprequesttst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickvisualdatamodeltst_scenegraph
 |  | FALSE | never evaluated | 
 | 0-2808 | 
| 687 | runGC(); executed 2808 times by 11 tests:  runGC();Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlxmlhttprequesttst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickvisualdatamodeltst_scenegraph
 | 2808 | 
| 688 |  | - | 
| 689 | if (3*unmanagedHeapSizeGCLimit <= 4*unmanagedHeapSize )| TRUE | evaluated 50 times by 4 tests Evaluated by:tst_ecmascriptteststst_examplestst_qqmlecmascripttst_qqmlnotifier
 |  | FALSE | evaluated 2758 times by 10 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlxmlhttprequesttst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickvisualdatamodeltst_scenegraph
 | 
 | 50-2758 | 
| 690 |  | - | 
| 691 | unmanagedHeapSizeGCLimit = std::max(unmanagedHeapSizeGCLimit, unmanagedHeapSize) * 2; executed 50 times by 4 tests:  unmanagedHeapSizeGCLimit = std::max(unmanagedHeapSizeGCLimit, unmanagedHeapSize) * 2;Executed by:tst_ecmascriptteststst_examplestst_qqmlecmascripttst_qqmlnotifier
 | 50 | 
| 692 | else if (unmanagedHeapSize * 4 <= unmanagedHeapSizeGCLimit )| TRUE | evaluated 2464 times by 7 tests Evaluated by:tst_ecmascriptteststst_qjsenginetst_qqmlecmascripttst_qquickgridviewtst_qquicklistviewtst_qquickvisualdatamodeltst_scenegraph
 |  | FALSE | evaluated 294 times by 7 tests Evaluated by:tst_ecmascriptteststst_examplestst_qqmlecmascripttst_qqmlxmlhttprequesttst_qquickgridviewtst_qquicklayoutstst_qquickvisualdatamodel
 | 
 | 294-2464 | 
| 693 |  | - | 
| 694 | unmanagedHeapSizeGCLimit = qMax(std::size_t(128 * 1024), unmanagedHeapSizeGCLimit/2); executed 2464 times by 7 tests:  unmanagedHeapSizeGCLimit = qMax(std::size_t(128 * 1024), unmanagedHeapSizeGCLimit/2);Executed by:tst_ecmascriptteststst_qjsenginetst_qqmlecmascripttst_qquickgridviewtst_qquicklistviewtst_qquickvisualdatamodeltst_scenegraph
 | 2464 | 
| 695 | didGCRun = true; | - | 
| 696 | } executed 2808 times by 11 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlxmlhttprequesttst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickvisualdatamodeltst_scenegraph
 | 2808 | 
| 697 |  | - | 
| 698 | HeapItem *m = blockAllocator.allocate(stringSize); | - | 
| 699 | if (!m ) {| TRUE | evaluated 23938 times by 18 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlvaluetypestst_qqmlxmlhttprequesttst_qquickdraghandlertst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquicktexttst_qquicktextedittst_qquicktextinputtst_qquickvisualdatamodel
 |  | FALSE | evaluated 135750857 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 23938-135750857 | 
| 700 | if (!didGCRun && shouldRunGC()| TRUE | evaluated 23938 times by 18 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlvaluetypestst_qqmlxmlhttprequesttst_qquickdraghandlertst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquicktexttst_qquicktextedittst_qquicktextinputtst_qquickvisualdatamodel
 |  | FALSE | never evaluated | 
)| TRUE | evaluated 1211 times by 5 tests Evaluated by:tst_ecmascriptteststst_qjsenginetst_qquickgridviewtst_qquicklistviewtst_qquickvisualdatamodel
 |  | FALSE | evaluated 22726 times by 18 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlvaluetypestst_qqmlxmlhttprequesttst_qquickdraghandlertst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquicktexttst_qquicktextedittst_qquicktextinputtst_qquickvisualdatamodel
 | 
 | 0-23938 | 
| 701 | runGC(); executed 1211 times by 5 tests:  runGC();Executed by:tst_ecmascriptteststst_qjsenginetst_qquickgridviewtst_qquicklistviewtst_qquickvisualdatamodel
 | 1211 | 
| 702 | m = blockAllocator.allocate(stringSize, true); | - | 
| 703 | } executed 23938 times by 18 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlvaluetypestst_qqmlxmlhttprequesttst_qquickdraghandlertst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquicktexttst_qquicktextedittst_qquicktextinputtst_qquickvisualdatamodel
 | 23938 | 
| 704 |  | - | 
| 705 |  | - | 
| 706 | memset(m, 0, stringSize); | - | 
| 707 | return executed 135491234 times by 153 tests*m;:  return *m;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 135491234 times by 153 tests:  return *m;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 135491234 | 
| 708 | } | - | 
| 709 |  | - | 
| 710 | Heap::Base *MemoryManager::allocData(std::size_t size) | - | 
| 711 | { | - | 
| 712 |  | - | 
| 713 | lastAllocRequestedSlots = size >> Chunk::SlotSizeShift; | - | 
| 714 | ++allocationCount; | - | 
| 715 |  | - | 
| 716 |  | - | 
| 717 | bool didRunGC = false; | - | 
| 718 | if (aggressiveGC ) {| TRUE | never evaluated |  | FALSE | evaluated 167620848 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 0-167620848 | 
| 719 | runGC(); | - | 
| 720 | didRunGC = true; | - | 
| 721 | } never executed: end of block | 0 | 
| 722 |  | - | 
| 723 | ((size >= Chunk::SlotSize) ? static_cast<void>(0) : qt_assert("size >= Chunk::SlotSize", __FILE__, 825)); | - | 
| 724 | ((size % Chunk::SlotSize == 0) ? static_cast<void>(0) : qt_assert("size % Chunk::SlotSize == 0", __FILE__, 826)); | - | 
| 725 |  | - | 
| 726 |  | - | 
| 727 |  | - | 
| 728 | if (size > Chunk::DataSize ) {| TRUE | evaluated 18 times by 2 tests Evaluated by:tst_ecmascriptteststst_qqmlecmascript
 |  | FALSE | evaluated 168107710 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 18-168107710 | 
| 729 | HeapItem *h = hugeItemAllocator.allocate(size); | - | 
| 730 |  | - | 
| 731 | return executed 18 times by 2 tests*h;:  return *h;Executed by:tst_ecmascriptteststst_qqmlecmascript
 executed 18 times by 2 tests:  return *h;Executed by:tst_ecmascriptteststst_qqmlecmascript
 | 18 | 
| 732 | } | - | 
| 733 |  | - | 
| 734 | HeapItem *m = blockAllocator.allocate(size); | - | 
| 735 | if (!m ) {| TRUE | evaluated 271635 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 167673892 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 271635-167673892 | 
| 736 | if (!didRunGC && shouldRunGC()| TRUE | evaluated 271198 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | never evaluated | 
)| TRUE | evaluated 4497 times by 13 tests Evaluated by:tst_ecmascriptteststst_examplestst_qqmlecmascripttst_qqmlqttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_quicktestmainwithsetuptst_testfiltering
 |  | FALSE | evaluated 266686 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 0-271198 | 
| 737 | runGC(); executed 4497 times by 13 tests:  runGC();Executed by:tst_ecmascriptteststst_examplestst_qqmlecmascripttst_qqmlqttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_quicktestmainwithsetuptst_testfiltering
 | 4497 | 
| 738 | m = blockAllocator.allocate(size, true); | - | 
| 739 | } executed 271979 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 271979 | 
| 740 |  | - | 
| 741 | memset(m, 0, size); | - | 
| 742 |  | - | 
| 743 | return executed 167315643 times by 153 tests*m;:  return *m;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 167315643 times by 153 tests:  return *m;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 167315643 | 
| 744 | } | - | 
| 745 |  | - | 
| 746 | Heap::Object *MemoryManager::allocObjectWithMemberData(const QV4::VTable *vtable, uint nMembers) | - | 
| 747 | { | - | 
| 748 | uint size = (vtable->nInlineProperties + vtable->inlinePropertyOffset)*sizeof(Value); | - | 
| 749 | ((!(size % sizeof(HeapItem))) ? static_cast<void>(0) : qt_assert("!(size % sizeof(HeapItem))", __FILE__, 851)); | - | 
| 750 |  | - | 
| 751 | Heap::Object *o; | - | 
| 752 | if (nMembers <= vtable->nInlineProperties ) {| TRUE | evaluated 48946573 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 4999259 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 4999259-48946573 | 
| 753 | o = static_cast<Heap::Object *>(allocData(size)); | - | 
| 754 | } executed 49026353 times by 153 testselse {:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 49026353 | 
| 755 |  | - | 
| 756 | nMembers -= vtable->nInlineProperties; | - | 
| 757 | std::size_t memberSize = align(sizeof(Heap::MemberData) + (nMembers - 1)*sizeof(Value)); | - | 
| 758 | size_t totalSize = size + memberSize; | - | 
| 759 | Heap::MemberData *m; | - | 
| 760 | if (totalSize > Chunk::DataSize ) {| TRUE | never evaluated |  | FALSE | evaluated 5066691 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 0-5066691 | 
| 761 | o = static_cast<Heap::Object *>(allocData(size)); | - | 
| 762 | m = hugeItemAllocator.allocate(memberSize)->as<Heap::MemberData>(); | - | 
| 763 | } never executed: else {end of block | 0 | 
| 764 | HeapItem *mh = reinterpret_cast<HeapItem *>(allocData(totalSize)); | - | 
| 765 | Heap::Base *b = *mh; | - | 
| 766 | o = static_cast<Heap::Object *>(b); | - | 
| 767 | mh += (size >> Chunk::SlotSizeShift); | - | 
| 768 | m = mh->as<Heap::MemberData>(); | - | 
| 769 | Chunk *c = mh->chunk(); | - | 
| 770 | size_t index = mh - c->realBase(); | - | 
| 771 | Chunk::setBit(c->objectBitmap, index); | - | 
| 772 | Chunk::clearBit(c->extendsBitmap, index); | - | 
| 773 | } executed 5058975 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 5058975 | 
| 774 | o->memberData.set(engine, m); | - | 
| 775 | m->internalClass.set(engine, engine->internalClasses(EngineBase::Class_MemberData)); | - | 
| 776 | ((o->memberData->internalClass) ? static_cast<void>(0) : qt_assert("o->memberData->internalClass", __FILE__, 878)); | - | 
| 777 | m->values.alloc = static_cast<uint>((memberSize - sizeof(Heap::MemberData) + sizeof(Value))/sizeof(Value)); | - | 
| 778 | m->values.size = o->memberData->values.alloc; | - | 
| 779 | m->init(); | - | 
| 780 |  | - | 
| 781 | } executed 5120022 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 5120022 | 
| 782 |  | - | 
| 783 | return executed 54136176 times by 153 testso;:  return o;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 54136176 times by 153 tests:  return o;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 54136176 | 
| 784 | } | - | 
| 785 |  | - | 
| 786 | static uint markStackSize = 0; | - | 
| 787 |  | - | 
| 788 | MarkStack::MarkStack(ExecutionEngine *engine) | - | 
| 789 | : engine(engine) | - | 
| 790 | { | - | 
| 791 | base = (Heap::Base **)engine->gcStack->base(); | - | 
| 792 | top = base; | - | 
| 793 | limit = base + ExecutionEngine::GCStackLimit/sizeof(Heap::Base)*3/4; | - | 
| 794 | } executed 8854 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 8854 | 
| 795 |  | - | 
| 796 | void MarkStack::drain() | - | 
| 797 | { | - | 
| 798 | while (top > base ) {| TRUE | evaluated 38948101 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 600050 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
 | 600050-38948101 | 
| 799 | Heap::Base *h = pop(); | - | 
| 800 | ++markStackSize; | - | 
| 801 | ((h) ? static_cast<void>(0) : qt_assert("h", __FILE__, 903)); | - | 
| 802 | h->internalClass->vtable->markObjects(h, this); | - | 
| 803 | } executed 38946862 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 38946862 | 
| 804 | } executed 600047 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 600047 | 
| 805 |  | - | 
| 806 | void MemoryManager::collectRoots(MarkStack *markStack) | - | 
| 807 | { | - | 
| 808 | engine->markObjects(markStack); | - | 
| 809 |  | - | 
| 810 |  | - | 
| 811 |  | - | 
| 812 | collectFromJSStack(markStack); | - | 
| 813 |  | - | 
| 814 |  | - | 
| 815 | m_persistentValues->mark(markStack); | - | 
| 816 | for (PersistentValueStorage::Iterator it = m_weakValues->begin(); it != m_weakValues->end() ; ++it) {| TRUE | evaluated 6188248 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 8854 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
 | 8854-6188248 | 
| 817 | QObjectWrapper *qobjectWrapper = (*it).as<QObjectWrapper>(); | - | 
| 818 | if (!qobjectWrapper )| TRUE | evaluated 5801240 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 386876 times by 24 tests Evaluated by:tst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 
 | 386876-5801240 | 
| 819 | continue; executed 5801237 times by 26 tests:  continue;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 5801237 | 
| 820 | QObject *qobject = qobjectWrapper->object(); | - | 
| 821 | if (!qobject )| TRUE | evaluated 287214 times by 14 tests Evaluated by:tst_examplestst_qjsenginetst_qqmlcontexttst_qqmlecmascripttst_qqmlqttst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickvisualdatamodel
 |  | FALSE | evaluated 99662 times by 22 tests Evaluated by:tst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 
 | 99662-287214 | 
| 822 | continue; executed 287214 times by 14 tests:  continue;Executed by:tst_examplestst_qjsenginetst_qqmlcontexttst_qqmlecmascripttst_qqmlqttst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickvisualdatamodel
 | 287214 | 
| 823 | bool keepAlive = QQmlData::keepAliveDuringGarbageCollection(qobject); | - | 
| 824 |  | - | 
| 825 | if (!keepAlive ) {| TRUE | evaluated 40441 times by 19 tests Evaluated by:tst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlecmascripttst_qqmlqttst_qqmltypeloadertst_qquickanimationcontrollertst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 |  | FALSE | evaluated 59221 times by 22 tests Evaluated by:tst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 
 | 40441-59221 | 
| 826 | if (QObject *parent = qobject->parent() ) {| TRUE | evaluated 39991 times by 19 tests Evaluated by:tst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlecmascripttst_qqmlqttst_qqmltypeloadertst_qquickanimationcontrollertst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 |  | FALSE | evaluated 450 times by 9 tests Evaluated by:tst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlecmascripttst_qqmlqttst_qqmltypeloadertst_qquickitemtst_qquicklayoutstst_qquickrepeater
 | 
 | 450-39991 | 
| 827 | while (parent->parent() )| TRUE | evaluated 27814 times by 11 tests Evaluated by:tst_examplestst_qqmlecmascripttst_qqmltypeloadertst_qquickanimationcontrollertst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_scenegraph
 |  | FALSE | evaluated 39991 times by 19 tests Evaluated by:tst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlecmascripttst_qqmlqttst_qqmltypeloadertst_qquickanimationcontrollertst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 
 | 27814-39991 | 
| 828 | parent = parent->parent(); executed 27814 times by 11 tests:  parent = parent->parent();Executed by:tst_examplestst_qqmlecmascripttst_qqmltypeloadertst_qquickanimationcontrollertst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_scenegraph
 | 27814 | 
| 829 |  | - | 
| 830 | keepAlive = QQmlData::keepAliveDuringGarbageCollection(parent); | - | 
| 831 | } executed 39991 times by 19 tests:  end of blockExecuted by:tst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlecmascripttst_qqmlqttst_qqmltypeloadertst_qquickanimationcontrollertst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 39991 | 
| 832 | } executed 40441 times by 19 tests:  end of blockExecuted by:tst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlecmascripttst_qqmlqttst_qqmltypeloadertst_qquickanimationcontrollertst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 40441 | 
| 833 |  | - | 
| 834 | if (keepAlive )| TRUE | evaluated 99046 times by 22 tests Evaluated by:tst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 |  | FALSE | evaluated 616 times by 9 tests Evaluated by:tst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlecmascripttst_qqmlqttst_qqmltypeloadertst_qquickitemtst_qquicklayoutstst_qquickrepeater
 | 
 | 616-99046 | 
| 835 | qobjectWrapper->mark(markStack); executed 99046 times by 22 tests:  qobjectWrapper->mark(markStack);Executed by:tst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 99046 | 
| 836 |  | - | 
| 837 | if (markStack->top >= markStack->limit )| TRUE | never evaluated |  | FALSE | evaluated 99662 times by 22 tests Evaluated by:tst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 
 | 0-99662 | 
| 838 | markStack->drain(); never executed: markStack->drain(); | 0 | 
| 839 | } executed 99662 times by 22 tests:  end of blockExecuted by:tst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 99662 | 
| 840 | } executed 8854 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 8854 | 
| 841 |  | - | 
| 842 | void MemoryManager::mark() | - | 
| 843 | { | - | 
| 844 | markStackSize = 0; | - | 
| 845 |  | - | 
| 846 | MarkStack markStack(engine); | - | 
| 847 | collectRoots(&markStack); | - | 
| 848 |  | - | 
| 849 | markStack.drain(); | - | 
| 850 | } executed 8854 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 8854 | 
| 851 |  | - | 
| 852 | void MemoryManager::sweep(bool lastSweep, ClassDestroyStatsCallback classCountPtr) | - | 
| 853 | { | - | 
| 854 | for (PersistentValueStorage::Iterator it = m_weakValues->begin(); it != m_weakValues->end() ; ++it) {| TRUE | evaluated 56001830 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 107963 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 107963-56001830 | 
| 855 | Managed *m = (*it).managed(); | - | 
| 856 | if (!m || m->markBit()| TRUE | evaluated 53622569 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 2325695 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
)| TRUE | evaluated 636377 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 1689986 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 636377-53622569 | 
| 857 | continue; executed 54293585 times by 153 tests:  continue;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 54293585 | 
| 858 |  | - | 
| 859 |  | - | 
| 860 | if (QObjectWrapper *qobjectWrapper = (*it).as<QObjectWrapper>() )| TRUE | evaluated 535996 times by 141 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugjstst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlexpressiontst_qqmlfileselectortst_qqmlimporttst_qqmlincubatortst_qqmlinfotst_qqmlinstantiator...
 |  | FALSE | evaluated 1153604 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 535996-1153604 | 
| 861 | qobjectWrapper->destroyObject(lastSweep); executed 535996 times by 141 tests:  qobjectWrapper->destroyObject(lastSweep);Executed by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugjstst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlexpressiontst_qqmlfileselectortst_qqmlimporttst_qqmlincubatortst_qqmlinfotst_qqmlinstantiator...
 | 535996 | 
| 862 |  | - | 
| 863 | (*it) = Primitive::undefinedValue(); | - | 
| 864 | } executed 1689585 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 1689585 | 
| 865 |  | - | 
| 866 |  | - | 
| 867 |  | - | 
| 868 | for (PersistentValueStorage::Iterator it = m_weakValues->begin(); it != m_weakValues->end() ; ++it) {| TRUE | evaluated 56034926 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 107950 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 107950-56034926 | 
| 869 | Managed *m = (*it).managed(); | - | 
| 870 | if (!m || m->markBit()| TRUE | evaluated 55343917 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 636379 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
)| TRUE | evaluated 636377 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 2 times by 1 test | 
 | 2-55343917 | 
| 871 | continue; executed 55997243 times by 153 tests:  continue;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 55997243 | 
| 872 | (*it) = Primitive::undefinedValue(); | - | 
| 873 | } executed 2 times by 1 test:  end of block | 2 | 
| 874 |  | - | 
| 875 |  | - | 
| 876 | const int pendingCount = m_pendingFreedObjectWrapperValue.count(); | - | 
| 877 | if (pendingCount ) {| TRUE | evaluated 8832 times by 141 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugjstst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlexpressiontst_qqmlfileselectortst_qqmlimporttst_qqmlincubatortst_qqmlinfotst_qqmlinstantiator...
 |  | FALSE | evaluated 98968 times by 62 tests Evaluated by:tst_ecmascriptteststst_examplestst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanuptst_qqmlexpressiontst_qqmlimporttst_qqmllistmodeltst_qqmlmoduleplugintst_qqmlnotifiertst_qqmlopenmetaobject...
 | 
 | 8832-98968 | 
| 878 | QVector<Value *> remainingWeakQObjectWrappers; | - | 
| 879 | remainingWeakQObjectWrappers.reserve(pendingCount); | - | 
| 880 | for (int i = 0; i < pendingCount ; ++i) {| TRUE | evaluated 535672 times by 141 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugjstst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlexpressiontst_qqmlfileselectortst_qqmlimporttst_qqmlincubatortst_qqmlinfotst_qqmlinstantiator...
 |  | FALSE | evaluated 8832 times by 141 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugjstst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlexpressiontst_qqmlfileselectortst_qqmlimporttst_qqmlincubatortst_qqmlinfotst_qqmlinstantiator...
 | 
 | 8832-535672 | 
| 881 | Value *v = m_pendingFreedObjectWrapperValue.at(i); | - | 
| 882 | if (v->isUndefined() || v->isEmpty()| TRUE | evaluated 535656 times by 141 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugjstst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlexpressiontst_qqmlfileselectortst_qqmlimporttst_qqmlincubatortst_qqmlinfotst_qqmlinstantiator...
 |  | FALSE | evaluated 16 times by 2 tests Evaluated by:tst_examplestst_qquickgridview
 | 
)| TRUE | never evaluated |  | FALSE | evaluated 16 times by 2 tests Evaluated by:tst_examplestst_qquickgridview
 | 
 | 0-535656 | 
| 883 | PersistentValueStorage::free(v); executed 535656 times by 141 tests:  PersistentValueStorage::free(v);Executed by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugjstst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlexpressiontst_qqmlfileselectortst_qqmlimporttst_qqmlincubatortst_qqmlinfotst_qqmlinstantiator...
 | 535656 | 
| 884 | else | - | 
| 885 | remainingWeakQObjectWrappers.append(v); executed 16 times by 2 tests:  remainingWeakQObjectWrappers.append(v);Executed by:tst_examplestst_qquickgridview
 | 16 | 
| 886 | } | - | 
| 887 | m_pendingFreedObjectWrapperValue = remainingWeakQObjectWrappers; | - | 
| 888 | } executed 8832 times by 141 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugjstst_qqmlecmascripttst_qqmlenginedebugservicetst_qqmlexpressiontst_qqmlfileselectortst_qqmlimporttst_qqmlincubatortst_qqmlinfotst_qqmlinstantiator...
 | 8832 | 
| 889 |  | - | 
| 890 | if (MultiplyWrappedQObjectMap *multiplyWrappedQObjects = engine->m_multiplyWrappedQObjects ) {| TRUE | never evaluated |  | FALSE | evaluated 107860 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 0-107860 | 
| 891 | for (MultiplyWrappedQObjectMap::Iterator it = multiplyWrappedQObjects->begin(); it != multiplyWrappedQObjects->end() ;) {| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 892 | if (!it.value().isNullOrUndefined() )| TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 893 | it = multiplyWrappedQObjects->erase(it); never executed: it = multiplyWrappedQObjects->erase(it); | 0 | 
| 894 | else | - | 
| 895 | ++ never executed: it;++it; never executed: ++it; | 0 | 
| 896 | } | - | 
| 897 | } never executed: end of block | 0 | 
| 898 |  | - | 
| 899 |  | - | 
| 900 | if (!lastSweep ) {| TRUE | evaluated 8854 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 99159 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
 | 8854-99159 | 
| 901 | engine->identifierTable->sweep(); | - | 
| 902 | blockAllocator.sweep( ); | - | 
| 903 | hugeItemAllocator.sweep(classCountPtr); | - | 
| 904 | icAllocator.sweep( ); | - | 
| 905 | } executed 8854 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 8854 | 
| 906 | } executed 108001 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 108001 | 
| 907 |  | - | 
| 908 | bool MemoryManager::shouldRunGC() const | - | 
| 909 | { | - | 
| 910 | size_t total = blockAllocator.totalSlots(); | - | 
| 911 | if (total > MinSlotsGCLimit && usedSlotsAfterLastFullSweep * GCOverallocation < total * 100| TRUE | evaluated 12572 times by 16 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_testfiltering
 |  | FALSE | evaluated 282317 times by 153 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 
)| TRUE | evaluated 5708 times by 15 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlqttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_testfiltering
 |  | FALSE | evaluated 6864 times by 3 tests Evaluated by:tst_examplestst_qqmlecmascripttst_qqmlnotifier
 | 
 | 5708-282317 | 
| 912 | return executed 5708 times by 15 teststrue;:  return true;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlqttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_testfiltering
 executed 5708 times by 15 tests:  return true;Executed by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlecmascripttst_qqmlqttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquicklayoutstst_qquicklistviewtst_qquickpositionerstst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_testfiltering
 | 5708 | 
| 913 | return executed 289123 times by 153 testsfalse;:  return false;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 executed 289123 times by 153 tests:  return false;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 289123 | 
| 914 | } | - | 
| 915 |  | - | 
| 916 | size_t dumpBins(BlockAllocator *b, bool printOutput = true) | - | 
| 917 | { | - | 
| 918 | const QLoggingCategory &stats = lcGcAllocatorStats(); | - | 
| 919 | size_t totalSlotMem = 0; | - | 
| 920 | if (printOutput )| TRUE | evaluated 4 times by 1 test |  | FALSE | never evaluated | 
 | 0-4 | 
| 921 | QMessageLogger(__FILE__, 1032, __PRETTY_FUNCTION__).debug(stats) << "Slot map:"; executed 4 times by 1 test:  QMessageLogger(__FILE__, 1032, __PRETTY_FUNCTION__).debug(stats) << "Slot map:"; | 4 | 
| 922 | for (uint i = 0; i < BlockAllocator::NumBins ; ++i) {| TRUE | evaluated 32 times by 1 test |  | FALSE | evaluated 4 times by 1 test | 
 | 4-32 | 
| 923 | uint nEntries = 0; | - | 
| 924 | HeapItem *h = b->freeBins[i]; | - | 
| 925 | while (h ) {| TRUE | evaluated 330 times by 1 test |  | FALSE | evaluated 32 times by 1 test | 
 | 32-330 | 
| 926 | ++nEntries; | - | 
| 927 | totalSlotMem += h->freeData.availableSlots; | - | 
| 928 | h = h->freeData.next; | - | 
| 929 | } executed 330 times by 1 test:  end of block | 330 | 
| 930 | if (printOutput )| TRUE | evaluated 32 times by 1 test |  | FALSE | never evaluated | 
 | 0-32 | 
| 931 | QMessageLogger(__FILE__, 1042, __PRETTY_FUNCTION__).debug(stats) << "    number of entries in slot" << i << ":" << nEntries; executed 32 times by 1 test:  QMessageLogger(__FILE__, 1042, __PRETTY_FUNCTION__).debug(stats) << " number of entries in slot" << i << ":" << nEntries; | 32 | 
| 932 | } executed 32 times by 1 test:  end of block | 32 | 
| 933 | if (1) ; executed 4 times by 1 testelse QMessageLogger(__FILE__, 1044, __PRETTY_FUNCTION__).debug() << "    large slot map";:  ; dead code: QMessageLogger(__FILE__, 1044, __PRETTY_FUNCTION__).debug() << " large slot map"; | - | 
| 934 | HeapItem *h = b->freeBins[BlockAllocator::NumBins - 1]; | - | 
| 935 | while (h ) {| TRUE | evaluated 58 times by 1 test |  | FALSE | evaluated 4 times by 1 test | 
 | 4-58 | 
| 936 | if (1) ; executed 58 times by 1 testelse QMessageLogger(__FILE__, 1047, __PRETTY_FUNCTION__).debug() << "        " << hex << (quintptr(h)/32) << h->freeData.availableSlots;:  ; dead code: QMessageLogger(__FILE__, 1047, __PRETTY_FUNCTION__).debug() << " " << hex << (quintptr(h)/32) << h->freeData.availableSlots; | - | 
| 937 | h = h->freeData.next; | - | 
| 938 | } executed 58 times by 1 test:  end of block | 58 | 
| 939 |  | - | 
| 940 | if (printOutput )| TRUE | evaluated 4 times by 1 test |  | FALSE | never evaluated | 
 | 0-4 | 
| 941 | QMessageLogger(__FILE__, 1052, __PRETTY_FUNCTION__).debug(stats) << "  total mem in bins" << totalSlotMem*Chunk::SlotSize; executed 4 times by 1 test:  QMessageLogger(__FILE__, 1052, __PRETTY_FUNCTION__).debug(stats) << " total mem in bins" << totalSlotMem*Chunk::SlotSize; | 4 | 
| 942 | return executed 4 times by 1 testtotalSlotMem*Chunk::SlotSize;:  return totalSlotMem*Chunk::SlotSize; executed 4 times by 1 test:  return totalSlotMem*Chunk::SlotSize; | 4 | 
| 943 | } | - | 
| 944 |  | - | 
| 945 | void MemoryManager::runGC() | - | 
| 946 | { | - | 
| 947 | if (gcBlocked ) {| TRUE | never evaluated |  | FALSE | evaluated 8854 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
 | 0-8854 | 
| 948 |  | - | 
| 949 | return; never executed: return; | 0 | 
| 950 | } | - | 
| 951 |  | - | 
| 952 | QScopedValueRollback<bool> gcBlocker(gcBlocked, true); | - | 
| 953 |  | - | 
| 954 |  | - | 
| 955 | if (gcStats ) {| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 8852 times by 25 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 
 | 2-8852 | 
| 956 | statistics.maxReservedMem = qMax(statistics.maxReservedMem, getAllocatedMem()); | - | 
| 957 | statistics.maxAllocatedMem = qMax(statistics.maxAllocatedMem, getUsedMem() + getLargeItemsMem()); | - | 
| 958 | } executed 2 times by 1 test:  end of block | 2 | 
| 959 |  | - | 
| 960 | if (!gcCollectorStats ) {| TRUE | evaluated 8852 times by 25 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 |  | FALSE | evaluated 2 times by 1 test | 
 | 2-8852 | 
| 961 | mark(); | - | 
| 962 | sweep(); | - | 
| 963 | } executed 8852 times by 25 testselse {:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 8852 | 
| 964 | bool triggeredByUnmanagedHeap = (unmanagedHeapSize > unmanagedHeapSizeGCLimit); | - | 
| 965 | size_t oldUnmanagedSize = unmanagedHeapSize; | - | 
| 966 |  | - | 
| 967 | const size_t totalMem = getAllocatedMem(); | - | 
| 968 | const size_t usedBefore = getUsedMem(); | - | 
| 969 | const size_t largeItemsBefore = getLargeItemsMem(); | - | 
| 970 |  | - | 
| 971 | const QLoggingCategory &stats = lcGcAllocatorStats(); | - | 
| 972 | QMessageLogger(__FILE__, 1083, __PRETTY_FUNCTION__).debug(stats) << "========== GC =========="; | - | 
| 973 |  | - | 
| 974 | QMessageLogger(__FILE__, 1085, __PRETTY_FUNCTION__).debug(stats) << "    Triggered by alloc request of" << lastAllocRequestedSlots << "slots."; | - | 
| 975 | QMessageLogger(__FILE__, 1086, __PRETTY_FUNCTION__).debug(stats) << "    Allocations since last GC" << allocationCount; | - | 
| 976 | allocationCount = 0; | - | 
| 977 |  | - | 
| 978 | size_t oldChunks = blockAllocator.chunks.size(); | - | 
| 979 | QMessageLogger(__FILE__, 1090, __PRETTY_FUNCTION__).debug(stats) << "Allocated" << totalMem << "bytes in" << oldChunks << "chunks"; | - | 
| 980 | QMessageLogger(__FILE__, 1091, __PRETTY_FUNCTION__).debug(stats) << "Fragmented memory before GC" << (totalMem - usedBefore); | - | 
| 981 | dumpBins(&blockAllocator); | - | 
| 982 |  | - | 
| 983 | QElapsedTimer t; | - | 
| 984 | t.start(); | - | 
| 985 | mark(); | - | 
| 986 | qint64 markTime = t.nsecsElapsed()/1000; | - | 
| 987 | t.restart(); | - | 
| 988 | sweep(false, increaseFreedCountForClass); | - | 
| 989 | const size_t usedAfter = getUsedMem(); | - | 
| 990 | const size_t largeItemsAfter = getLargeItemsMem(); | - | 
| 991 | qint64 sweepTime = t.nsecsElapsed()/1000; | - | 
| 992 |  | - | 
| 993 | if (triggeredByUnmanagedHeap ) {| TRUE | never evaluated |  | FALSE | evaluated 2 times by 1 test | 
 | 0-2 | 
| 994 | QMessageLogger(__FILE__, 1105, __PRETTY_FUNCTION__).debug(stats) << "triggered by unmanaged heap:"; | - | 
| 995 | QMessageLogger(__FILE__, 1106, __PRETTY_FUNCTION__).debug(stats) << "   old unmanaged heap size:" << oldUnmanagedSize; | - | 
| 996 | QMessageLogger(__FILE__, 1107, __PRETTY_FUNCTION__).debug(stats) << "   new unmanaged heap:" << unmanagedHeapSize; | - | 
| 997 | QMessageLogger(__FILE__, 1108, __PRETTY_FUNCTION__).debug(stats) << "   unmanaged heap limit:" << unmanagedHeapSizeGCLimit; | - | 
| 998 | } never executed: end of block | 0 | 
| 999 | size_t memInBins = dumpBins(&blockAllocator); | - | 
| 1000 | QMessageLogger(__FILE__, 1111, __PRETTY_FUNCTION__).debug(stats) << "Marked object in" << markTime << "us."; | - | 
| 1001 | QMessageLogger(__FILE__, 1112, __PRETTY_FUNCTION__).debug(stats) << "   " << markStackSize << "objects marked"; | - | 
| 1002 | QMessageLogger(__FILE__, 1113, __PRETTY_FUNCTION__).debug(stats) << "Sweeped object in" << sweepTime << "us."; | - | 
| 1003 |  | - | 
| 1004 |  | - | 
| 1005 | MMStatsHash freedObjectStats; | - | 
| 1006 | std::swap(freedObjectStats, *freedObjectStatsGlobal()); | - | 
| 1007 | typedef std::pair<const char*, int> ObjectStatInfo; | - | 
| 1008 | std::vector<ObjectStatInfo> freedObjectsSorted; | - | 
| 1009 | freedObjectsSorted.reserve(freedObjectStats.count()); | - | 
| 1010 | for (auto it = freedObjectStats.constBegin(); it != freedObjectStats.constEnd() ; ++it) {| TRUE | never evaluated |  | FALSE | evaluated 2 times by 1 test | 
 | 0-2 | 
| 1011 | freedObjectsSorted.push_back(std::make_pair(it.key(), it.value())); | - | 
| 1012 | } never executed: end of block | 0 | 
| 1013 | std::sort(freedObjectsSorted.begin(), freedObjectsSorted.end(), [](const ObjectStatInfo &a, const ObjectStatInfo &b) { | - | 
| 1014 | return never executed: a.second > b.second && strcmp(a.first, b.first) < 0;return a.second > b.second && strcmp(a.first, b.first) < 0; never executed: return a.second > b.second && strcmp(a.first, b.first) < 0; | 0 | 
| 1015 | }); | - | 
| 1016 |  | - | 
| 1017 | QMessageLogger(__FILE__, 1128, __PRETTY_FUNCTION__).debug(stats) << "Used memory before GC:" << usedBefore; | - | 
| 1018 | QMessageLogger(__FILE__, 1129, __PRETTY_FUNCTION__).debug(stats) << "Used memory after GC:" << usedAfter; | - | 
| 1019 | QMessageLogger(__FILE__, 1130, __PRETTY_FUNCTION__).debug(stats) << "Freed up bytes      :" << (usedBefore - usedAfter); | - | 
| 1020 | QMessageLogger(__FILE__, 1131, __PRETTY_FUNCTION__).debug(stats) << "Freed up chunks     :" << (oldChunks - blockAllocator.chunks.size()); | - | 
| 1021 | size_t lost = blockAllocator.allocatedMem() - memInBins - usedAfter; | - | 
| 1022 | if (lost )| TRUE | evaluated 2 times by 1 test |  | FALSE | never evaluated | 
 | 0-2 | 
| 1023 | QMessageLogger(__FILE__, 1134, __PRETTY_FUNCTION__).debug(stats) << "!!!!!!!!!!!!!!!!!!!!! LOST MEM:" << lost << "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"; executed 2 times by 1 test:  QMessageLogger(__FILE__, 1134, __PRETTY_FUNCTION__).debug(stats) << "!!!!!!!!!!!!!!!!!!!!! LOST MEM:" << lost << "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"; | 2 | 
| 1024 | if (largeItemsBefore || largeItemsAfter| TRUE | never evaluated |  | FALSE | evaluated 2 times by 1 test | 
) {| TRUE | never evaluated |  | FALSE | evaluated 2 times by 1 test | 
 | 0-2 | 
| 1025 | QMessageLogger(__FILE__, 1136, __PRETTY_FUNCTION__).debug(stats) << "Large item memory before GC:" << largeItemsBefore; | - | 
| 1026 | QMessageLogger(__FILE__, 1137, __PRETTY_FUNCTION__).debug(stats) << "Large item memory after GC:" << largeItemsAfter; | - | 
| 1027 | QMessageLogger(__FILE__, 1138, __PRETTY_FUNCTION__).debug(stats) << "Large item memory freed up:" << (largeItemsBefore - largeItemsAfter); | - | 
| 1028 | } never executed: end of block | 0 | 
| 1029 |  | - | 
| 1030 | for (auto it = freedObjectsSorted.cbegin(); it != freedObjectsSorted.cend() ; ++it) {| TRUE | never evaluated |  | FALSE | evaluated 2 times by 1 test | 
 | 0-2 | 
| 1031 | QMessageLogger(__FILE__, 1142, __PRETTY_FUNCTION__).debug(stats).noquote() << QString::fromLatin1("Freed JS type: %1 (%2 instances)").arg(QString::fromLatin1(it->first), QString::number(it->second)); | - | 
| 1032 | } never executed: end of block | 0 | 
| 1033 |  | - | 
| 1034 | QMessageLogger(__FILE__, 1145, __PRETTY_FUNCTION__).debug(stats) << "======== End GC ========"; | - | 
| 1035 | } executed 2 times by 1 test:  end of block | 2 | 
| 1036 |  | - | 
| 1037 | if (gcStats )| TRUE | evaluated 2 times by 1 test |  | FALSE | evaluated 8852 times by 25 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_scenegraphtst_testfiltering
 | 
 | 2-8852 | 
| 1038 | statistics.maxUsedMem = qMax(statistics.maxUsedMem, getUsedMem() + getLargeItemsMem()); executed 2 times by 1 test:  statistics.maxUsedMem = qMax(statistics.maxUsedMem, getUsedMem() + getLargeItemsMem()); | 2 | 
| 1039 |  | - | 
| 1040 | if (aggressiveGC ) {| TRUE | never evaluated |  | FALSE | evaluated 8854 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
 | 0-8854 | 
| 1041 |  | - | 
| 1042 | ((blockAllocator.allocatedMem() == blockAllocator.usedMem() + dumpBins(&blockAllocator, false)) ? static_cast<void>(0) : qt_assert("blockAllocator.allocatedMem() == blockAllocator.usedMem() + dumpBins(&blockAllocator, false)", | - | 
| 1043 | __FILE__ | - | 
| 1044 | , | - | 
| 1045 | 1154 | - | 
| 1046 | )) | - | 
| 1047 | ; | - | 
| 1048 | } never executed: end of block | 0 | 
| 1049 |  | - | 
| 1050 | usedSlotsAfterLastFullSweep = blockAllocator.usedSlotsAfterLastSweep; | - | 
| 1051 |  | - | 
| 1052 |  | - | 
| 1053 | blockAllocator.resetBlackBits(); | - | 
| 1054 | hugeItemAllocator.resetBlackBits(); | - | 
| 1055 | icAllocator.resetBlackBits(); | - | 
| 1056 | } executed 8854 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 8854 | 
| 1057 |  | - | 
| 1058 | size_t MemoryManager::getUsedMem() const | - | 
| 1059 | { | - | 
| 1060 | return executed 14 times by 2 testsblockAllocator.usedMem() + icAllocator.usedMem();:  return blockAllocator.usedMem() + icAllocator.usedMem();Executed by:tst_qqmlprofilerservicetst_qv4mm
 executed 14 times by 2 tests:  return blockAllocator.usedMem() + icAllocator.usedMem();Executed by:tst_qqmlprofilerservicetst_qv4mm
 | 14 | 
| 1061 | } | - | 
| 1062 |  | - | 
| 1063 | size_t MemoryManager::getAllocatedMem() const | - | 
| 1064 | { | - | 
| 1065 | return executed 10 times by 2 testsblockAllocator.allocatedMem() + icAllocator.allocatedMem() + hugeItemAllocator.usedMem();:  return blockAllocator.allocatedMem() + icAllocator.allocatedMem() + hugeItemAllocator.usedMem();Executed by:tst_qqmlprofilerservicetst_qv4mm
 executed 10 times by 2 tests:  return blockAllocator.allocatedMem() + icAllocator.allocatedMem() + hugeItemAllocator.usedMem();Executed by:tst_qqmlprofilerservicetst_qv4mm
 | 10 | 
| 1066 | } | - | 
| 1067 |  | - | 
| 1068 | size_t MemoryManager::getLargeItemsMem() const | - | 
| 1069 | { | - | 
| 1070 | return executed 20 times by 2 testshugeItemAllocator.usedMem();:  return hugeItemAllocator.usedMem();Executed by:tst_qqmlprofilerservicetst_qv4mm
 executed 20 times by 2 tests:  return hugeItemAllocator.usedMem();Executed by:tst_qqmlprofilerservicetst_qv4mm
 | 20 | 
| 1071 | } | - | 
| 1072 |  | - | 
| 1073 | MemoryManager::~MemoryManager() | - | 
| 1074 | { | - | 
| 1075 | delete m_persistentValues; | - | 
| 1076 |  | - | 
| 1077 | dumpStats(); | - | 
| 1078 |  | - | 
| 1079 | sweep( true); | - | 
| 1080 | blockAllocator.freeAll(); | - | 
| 1081 | hugeItemAllocator.freeAll(); | - | 
| 1082 | icAllocator.freeAll(); | - | 
| 1083 |  | - | 
| 1084 | delete m_weakValues; | - | 
| 1085 |  | - | 
| 1086 |  | - | 
| 1087 |  | - | 
| 1088 | delete chunkAllocator; | - | 
| 1089 | } executed 99194 times by 153 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 99194 | 
| 1090 |  | - | 
| 1091 |  | - | 
| 1092 | void MemoryManager::dumpStats() const | - | 
| 1093 | { | - | 
| 1094 | if (!gcStats )| TRUE | evaluated 98305 times by 152 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 |  | FALSE | evaluated 2 times by 1 test | 
 | 2-98305 | 
| 1095 | return; executed 98338 times by 152 tests:  return;Executed by:tst_bindingdependencyapitst_drawingmodestst_ecmascriptteststst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanup...
 | 98338 | 
| 1096 |  | - | 
| 1097 | const QLoggingCategory &stats = lcGcStats(); | - | 
| 1098 | QMessageLogger(__FILE__, 1205, __PRETTY_FUNCTION__).debug(stats) << "Qml GC memory allocation statistics:"; | - | 
| 1099 | QMessageLogger(__FILE__, 1206, __PRETTY_FUNCTION__).debug(stats) << "Total memory allocated:" << statistics.maxReservedMem; | - | 
| 1100 | QMessageLogger(__FILE__, 1207, __PRETTY_FUNCTION__).debug(stats) << "Max memory used before a GC run:" << statistics.maxAllocatedMem; | - | 
| 1101 | QMessageLogger(__FILE__, 1208, __PRETTY_FUNCTION__).debug(stats) << "Max memory used after a GC run:" << statistics.maxUsedMem; | - | 
| 1102 | QMessageLogger(__FILE__, 1209, __PRETTY_FUNCTION__).debug(stats) << "Requests for different item sizes:"; | - | 
| 1103 | for (int i = 1; i < BlockAllocator::NumBins - 1 ; ++i)| TRUE | evaluated 12 times by 1 test |  | FALSE | evaluated 2 times by 1 test | 
 | 2-12 | 
| 1104 | QMessageLogger(__FILE__, 1211, __PRETTY_FUNCTION__).debug(stats) << "     <" << (i << Chunk::SlotSizeShift) << " bytes: " << statistics.allocations[i]; executed 12 times by 1 test:  QMessageLogger(__FILE__, 1211, __PRETTY_FUNCTION__).debug(stats) << " <" << (i << Chunk::SlotSizeShift) << " bytes: " << statistics.allocations[i]; | 12 | 
| 1105 | QMessageLogger(__FILE__, 1212, __PRETTY_FUNCTION__).debug(stats) << "     >=" << ((BlockAllocator::NumBins - 1) << Chunk::SlotSizeShift) << " bytes: " << statistics.allocations[BlockAllocator::NumBins - 1]; | - | 
| 1106 | } executed 2 times by 1 test:  end of block | 2 | 
| 1107 |  | - | 
| 1108 | void MemoryManager::collectFromJSStack(MarkStack *markStack) const | - | 
| 1109 | { | - | 
| 1110 | Value *v = engine->jsStackBase; | - | 
| 1111 | Value *top = engine->jsStackTop; | - | 
| 1112 | while (v < top ) {| TRUE | evaluated 1537948 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 8854 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
 | 8854-1537948 | 
| 1113 | Managed *m = v->managed(); | - | 
| 1114 | if (m ) {| TRUE | evaluated 1277139 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 |  | FALSE | evaluated 260833 times by 26 tests Evaluated by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 
 | 260833-1277139 | 
| 1115 | ((m->inUse()) ? static_cast<void>(0) : qt_assert("m->inUse()", __FILE__, 1222)); | - | 
| 1116 |  | - | 
| 1117 | m->mark(markStack); | - | 
| 1118 | } executed 1277126 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 1277126 | 
| 1119 | ++v; | - | 
| 1120 | } executed 1537949 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 1537949 | 
| 1121 | } executed 8854 times by 26 tests:  end of blockExecuted by:tst_ecmascriptteststst_examplestst_qjsenginetst_qqmlcomponenttst_qqmlcontexttst_qqmlecmascripttst_qqmlnotifiertst_qqmlqttst_qqmlsqldatabasetst_qqmltypeloadertst_qqmlxmlhttprequesttst_qquickanimationcontrollertst_qquickdragtst_qquickdropareatst_qquickgridviewtst_qquickitemtst_qquicklayoutstst_qquicklistviewtst_qquickloadertst_qquickpositionerstst_qquickrepeatertst_qquickvisualdatamodeltst_quicktestmainwithsetuptst_qv4mmtst_scenegraph...
 | 8854 | 
| 1122 |  | - | 
| 1123 | } | - | 
| 1124 |  | - | 
| 1125 |  | - | 
|  |  |  |