Reland "Java Heap Profiler for Perfetto." again
This reverts commit 284b1b01cf47335fa578e995150adcd0c6f02059.
Reason for revert: Added some nullptr checks with logging.
Fixed behaviour when ReInitializing plugin.
Test: dump heap for system_server
Test: art/tools/run-gtests.sh -j4
[ RUN ] InstructionSetFeaturesTest.FeaturesFromAssembly
art/runtime/arch/instruction_set_features_test.cc:161: Failure
Value of: assembly_features->HasAtLeast(instruction_set_features.get())
Actual: false
Expected: true
Assembly features: ISA: Arm Feature string: div,-atomic_ldrd_strd,armv8a
Features from build: ISA: Arm Feature string: div,atomic_ldrd_strd,armv8a
[ FAILED ] InstructionSetFeaturesTest.FeaturesFromAssembly (0 ms)
Known issue, see http://b/139425971
Test: art/test/testrunner/testrunner.py --target --64
4095/4260 (96%) tests passed.
Test: art/tools/run-libcore-tests.sh --mode=device --variant=X64
Outcomes: 13781. Passed: 13542, Failed: 0, Skipped: 140, Warnings: 99. Took 29m37s.
Test: art/tools/run-jdwp-tests.sh --mode=device --variant=X64
Outcomes: 401. All successful. Took 7m15s.
Bug: 136210868
Change-Id: I7b8564c93926788acb0340de254836dff0ebd9f8
10 files changed