summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2018-04-11 18:27:47 +0100
committerRoland Levillain <rpl@google.com>2018-04-11 19:04:04 +0100
commit7b0e844d8f0a59c6e1e9ac0c441409d2e435ac36 (patch)
treee127fcf1840a8e249bfdb0725f6c73181fe84246 /compiler/optimizing/graph_visualizer.cc
parent6c3533991522d036cbb5a656c44f63bf633a2925 (diff)
Distinguish the various pre-allocated OutOfMemoryError use cases.
The pre-allocated exception "OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack trace available", can be thrown in three occasions: 1. OOME thrown while throwing an exception (not necessarily an OOME); 2. OOME thrown while throwing an OOME; 3. OOME thrown while handling a stack overflow. To improve error reports, replace the unique pre-allocated OOME exception with three different exceptions for these three use cases. Noe that we were already manually dumping a stack trace in case #2. This change implements this for case #1 too. Test: art/test.py Bug: 68251879 Bug: 77567088 Bug: 77844013 Change-Id: I84cd15b729b4d0bd7bf6c831caeb0eb93c458114
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions