summaryrefslogtreecommitdiff
path: root/test/008-exceptions/src-multidex/MultiDexBadInitWrapper2.java
diff options
context:
space:
mode:
authorMingyao Yang <mingyao@google.com>2016-04-28 16:23:01 -0700
committerMingyao Yang <mingyao@google.com>2016-05-11 10:55:11 -0700
commit0b80b746f295469f143b3088741642114c6e2a7d (patch)
tree4cc6fd79beddc5c937bcaea2b82bc79fa51576bf /test/008-exceptions/src-multidex/MultiDexBadInitWrapper2.java
parent63347bbb6d25b762eaa67c67d78a019d28e94321 (diff)
Fix assert failure in interpreter after deoptimization.
There is code that does new String(chararr, 0, chararr_count); which under debuggable turns into a call into pNewEmptyString() plus a call into pNewStringFromChars_CII(). Even though we currently don't patch return pc in a runtime method, calling into pNewEmptyString() is special since it's hacked such that it's acting as if the caller calls into the java method StringFactory.newEmptyString() directly. So deoptimization can now happen at the NewEmptyString site and the assert is triggered since it's a new instance instead of an invoke instruction. The fix relaxes the assert to allow the special case. Bug: 28555675 (cherry picked from commit 504a69081f63818ca332ddaf54e8198448554538) Change-Id: Idbb159b5aa450df2344cd93ae74fef5f55bdc534
Diffstat (limited to 'test/008-exceptions/src-multidex/MultiDexBadInitWrapper2.java')
0 files changed, 0 insertions, 0 deletions