OSDN Git Service

ART: Correctly handle temporary classes in class-load events (2/3)
authorAndreas Gampe <agampe@google.com>
Fri, 10 Feb 2017 02:19:21 +0000 (18:19 -0800)
committerAndreas Gampe <agampe@google.com>
Fri, 10 Feb 2017 19:52:22 +0000 (11:52 -0800)
commit94dda93b52a38656120022f0cd1095dc3994d4f2
treeddb0ab6ceb95e26d876d8b6595d9d393def7f299
parent1561de49b382627ddd277b8ad7e5e8f4cec32f0b
ART: Correctly handle temporary classes in class-load events (2/3)

When a temporary class is given out in a ClassLoad event, all stored
references need to be fixed up before publishing a ClassPrepare event.

This CL handles objects stored as local references.

Bug: 31684920
Test: m test-art-host-run-test-912-classes
Change-Id: I3c6bbfdaca31d0c0d8ae9bf1facef404e949b6aa
runtime/openjdkjvmti/ti_class.cc
test/912-classes/classes.cc