commit | 9d1b2dd68697e0b5d912c18674cadd1c16ef5790 | [log] [tgz] |
---|---|---|
author | Daniele Di Proietto <ddiproietto@google.com> | Thu Mar 03 15:16:11 2022 +0000 |
committer | Daniele Di Proietto <ddiproietto@google.com> | Thu Mar 03 15:35:15 2022 +0000 |
tree | e9658e32a25deaa54316b16d2d2664842ce64631 | |
parent | b6557e37c41e01d2cb0508b4c6583e23e2838a17 [diff] |
Fix integer overflow in java heap dump flamegraph If the cumulative size of a single root in trace processor is bigger than 2GiB, it overflows these 32-bit signed integers. It's possible for a single root to hold more than 2GiB, especially since we take into account the registered native size. Bug: 222297079 Change-Id: I6f6ef006806b3d4287813682654bc91648e40c68
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.