On heap tracking datastructure overflow, degrade instead of CHECK()

Based on ajwong's CL https://codereview.chromium.org/2784783003/
This allows the heap profiler to on systems with heavy memory usage
(sometimes caused by strange profiles).

Next step is to surface the overflow on the tracing UI.

BUG=698079

Review-Url: https://codereview.chromium.org/2787383002
Cr-Commit-Position: refs/heads/master@{#461485}


CrOS-Libchrome-Original-Commit: c1d887e1b41c37348a412bcb956b641ef5b5caf1
3 files changed
tree: 67ae23b9972a7e4adae084a51f247a1904c3b5be
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/