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>
Fri, 22 Apr 2016 15:11:17 +0000 (16:11 +0100)
commit64142952e360bc933b0ec948860ae46dffc3bf32
treea70b450f8d7215bf2f6d53d7917f85997722ea5c
parent6726546bf3fd6bdb96a34197119d210bccda7e01
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

(cherry picked from commit b8697b15145834c9861bebfb03daa745ecbe53e8)

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