summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2016-10-28 10:19:54 +0100
committerNarayan Kamath <narayan@google.com>2016-10-28 11:48:49 +0000
commit269cb43d6df76b52a42c1c7a9436c92bd0dcdad6 (patch)
tree6fb3dec2763ffdacdf1b31e4ed04c3f0c6cc5f81 /compiler/optimizing/graph_visualizer.cc
parentd6435da102851e155acd12adc420e7df3db47903 (diff)
class_linker: Change allocation of MethodType dex_cache entries.
We allocate them regardless of the value of the runtime flag to avoid needing changes to the compiler etc. The memory hit can be mitigated in production systems that don't use MethodHandles by setting kDexCacheMethodTypeCacheSize to 0. Also, add DCHECKS in the interpreter to make sure the runtime never executes an invoke-polymorphic instruction when method handles are disabled. Test: make test-art-host Bug: 30550796 Change-Id: Id4b2065d99dc13625a51037b7d1a9f0ac5ff6121
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions