OSDN Git Service

Handle unexpected cases in profile saver
authorCalin Juravle <calin@google.com>
Tue, 8 Mar 2016 12:52:52 +0000 (12:52 +0000)
committerCalin Juravle <calin@google.com>
Tue, 8 Mar 2016 12:52:52 +0000 (12:52 +0000)
commit1fae45f7d777e3971b916dda531c8648304866c8
tree5a9143f320be55c5932377fbb2655d2ab91271bb
parent0738bffaf6983f998733e3211072b3ba792fd42b
Handle unexpected cases in profile saver

There are some unexpected cases that should not occur in a normal run.
Log warnings but avoid crashing if:
- dex location is empty
- we cannot figure the real paths of the locations.

Bug: 27532729
Change-Id: I2c9ee8d616378d1d6f771b071f61321a2916ce27
runtime/jit/profile_saver.cc