aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.c
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2011-04-07 10:36:56 -0700
committerAndy McFadden <fadden@android.com>2011-04-07 14:24:42 -0700
commitc759b9f089e8e09df335a030d0555366d9395aeb (patch)
tree9610d79c3e339ec3e191cf6f428051702588b212 /vm/compiler/codegen/arm/CodegenDriver.c
parenta4a19037f75e0e3c85fb5f3c7fa31732f8475719 (diff)
Improve JNI indirect ref diagnostics
Improved CheckJNI problem detection and failure reporting. Also, the indirect reference table data structure now responds to invalid requests with a magic bogus object instead of NULL, so that failures are immediate and obvious. The extended checks in the indirect ref implementation are still on, mostly so that bad code fails in an obvious way even when CheckJNI is not enabled. This change also includes a hack to allow weak globals to work. Returning non-NULL for invalid refs turned a rarely-fails-weirdly issue into an always-fails-loudly, which is good, but we need to paper over it until the WGR fix is in place. This will need to be removed later. Also, reduced some log levels. Bug 4184721 Change-Id: Iaec75c71dbc85934366be2e717329b635d0fa49e
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions