Home | History | Annotate | Download | only in 098-ddmc
      1 Confirm empty
      2 empty=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 offset to string table from start of message: 15 number of class name strings: 0 number of method name strings: 0 number of source file name strings: 0]
      3 Confirm enable
      4 status=false
      5 status=true
      6 Capture some allocations (note just this causes allocations)
      7 before > 0=true
      8 Confirm when we overflow, we don't roll over to zero. b/17392248
      9 before < overflowAllocations=true
     10 after > before=true
     11 after.numberOfEntries=65535
     12 Disable and confirm back to empty
     13 status=false
     14 reset=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 offset to string table from start of message: 15 number of class name strings: 0 number of method name strings: 0 number of source file name strings: 0]
     15 Confirm we can disable twice in a row
     16 status=false
     17 status=false
     18 Confirm we can reenable twice in a row without losing allocations
     19 status=true
     20 status=true
     21 second > first =true
     22 Goodbye
     23 goodbye=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 offset to string table from start of message: 15 number of class name strings: 0 number of method name strings: 0 number of source file name strings: 0]
     24