OSDN Git Service

ART: Add flag for ArtMethod class state checks
authorAndreas Gampe <agampe@google.com>
Thu, 23 Feb 2017 19:34:48 +0000 (11:34 -0800)
committerAndreas Gampe <agampe@google.com>
Thu, 23 Feb 2017 19:34:48 +0000 (11:34 -0800)
commitb1106e2aa98105dec533cdac9074a8f0216a4106
tree881beb77d6550fbd62fd82241d2bb9107b72e794
parent02c488068f4793204b00b40d76eb3a891a332def
ART: Add flag for ArtMethod class state checks

The checks, especially in GetAccessFlags, is expensive. To help
with running a debug build on devices, add a flag to be able to
turn the checks off.

Bug: 35644369
Test: m
Change-Id: I2a3db1a56986df8f4a8b2dc5bcb26e1bcaea0a24
runtime/art_method-inl.h
runtime/art_method.h