commit | 449357d3f61bdd134967ecdacc3516e1707cf882 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Jun 01 22:29:51 2015 -0700 |
committer | Andreas Gampe <agampe@google.com> | Wed Jun 03 16:10:33 2015 -0700 |
tree | 650ef203d23926485398200888cadfc9aa7608fc | |
parent | 2519fc40d4ae89322d28d1ff610fe81bb90fb564 [diff] |
ART: Refactor Thread::Init This refactor allows the parent thread to allocate the JNIEnvExt for the child (with a fallback in place in Init). This allows to throw an OOME in CreateNativeThread instead of aborting in the child. Bug: 21291279 (cherry picked from commit 520abbd0edcf333f07164539620ce65258c72383) Change-Id: Iccc1a5c202999f5bfacec706d9833e53135ba2fa