OSDN Git Service

Perform write barrier on declaring class when adding instrumentation
authorMathieu Chartier <mathieuc@google.com>
Fri, 2 Oct 2015 20:08:39 +0000 (13:08 -0700)
committerMathieu Chartier <mathieuc@google.com>
Fri, 2 Oct 2015 20:10:14 +0000 (13:10 -0700)
commitb5bba5966045258fd8b755fb65e381cd7fb9c311
tree0c20fe959ec4772b2346f0d7fa6f68e9582be5e4
parent92563008ecdab199a85bc82291b7ed81660051c5
Perform write barrier on declaring class when adding instrumentation

Since the instrumentation is marked from the declaring class we need
to mark the card so that mod-union tables and card rescanning know
about the update.

This fixes some moving GC crashes on eng builds.

Bug: 24133607

Change-Id: I66de3e3e5e1e4d2d91a041e2fbc37b93c5091b12
runtime/jit/jit_instrumentation.cc