summaryrefslogtreecommitdiffstats
path: root/runtime/jvalue.h
diff options
context:
space:
mode:
authorMingyao Yang <mingyao@google.com>2015-05-18 12:12:50 -0700
committerMingyao Yang <mingyao@google.com>2015-06-18 13:42:03 -0700
commitef484d442a3dcae2cd1842c5be0623f5cf71e4ab (patch)
tree5c50bd5b9d213a1072b8955e845ba2df6f18d66e /runtime/jvalue.h
parent07c6f5a3eb17e08f3f2d850e130896f63c80911f (diff)
downloadart-ef484d442a3dcae2cd1842c5be0623f5cf71e4ab.tar.gz
art-ef484d442a3dcae2cd1842c5be0623f5cf71e4ab.tar.bz2
art-ef484d442a3dcae2cd1842c5be0623f5cf71e4ab.zip
Fix nested deoptimization.
Handle nested deoptimization cases. Create a stacked shadow frame records to keep track of deoptimization shadow frames. Shadow frames under construction can be tracked in the same stack. Bug: 20845490 (cherry picked from commit 1f2d3ba6af52cf6f566deb38b7e07735c9a08fb6) Change-Id: I768285792c29e7c3cfcd21e7a2600802506024d8
Diffstat (limited to 'runtime/jvalue.h')
-rw-r--r--runtime/jvalue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/jvalue.h b/runtime/jvalue.h
index b39567b297..6a6d1986dc 100644
--- a/runtime/jvalue.h
+++ b/runtime/jvalue.h
@@ -61,6 +61,8 @@ union PACKED(4) JValue {
uint8_t GetZ() const { return z; }
void SetZ(uint8_t new_z) { z = new_z; }
+ mirror::Object** GetGCRoot() { return &l; }
+
private:
uint8_t z;
int8_t b;