OSDN Git Service

Update and improve profiles format
authorCalin Juravle <calin@google.com>
Mon, 21 Mar 2016 14:37:55 +0000 (14:37 +0000)
committerCalin Juravle <calin@google.com>
Thu, 24 Mar 2016 15:12:03 +0000 (15:12 +0000)
commitb8697b15145834c9861bebfb03daa745ecbe53e8
treeb3258916f3fb34438f7ffd0038b888aa5ab28202
parent85f7bf3bbfa17d65ff77e3e826b5f7aff45838a9
Update and improve profiles format

- add profile version in the header
- change the profile format to a binary format (saves more than 50% of
space)
- improve error handling during parsing
- improve corner cases handling (all methods/classes in the
file)
- improve error reporting

Bug: 27600652
Bug: 27081617

Change-Id: I54dfbf73fbc943ff6fc3d67f389c658d833cded9
runtime/jit/offline_profiling_info.cc
runtime/jit/offline_profiling_info.h
runtime/jit/profile_compilation_info_test.cc