https://github.com/mozilla/gecko-dev
Revision d932e8f7fa2d9401a71a19ff0932b2ce9a77c113 authored by Jim Chen on 14 January 2016, 22:21:59 UTC, committed by Jim Chen on 14 January 2016, 22:21:59 UTC
When we have a Java exception in native code, the Java stack in the exception
will not be very useful because the top frame is the native entry point. In
this case, the native stack is more useful. However, currently we don't get a
good native stack in this situation because we go through Java when handling
the exception, and the native stack we get will have a lot of unknown frames
inside libdvm or libart. This patch makes us stay in native code when handling
an uncaught exception from native code, so that we get a good native stack.

--HG--
extra : commitid : DXxdo9fpvZe
extra : source : 90775224fe6288e413179d191da3fde297cf6069
extra : histedit_source : 1412ccfbb1c793f1682b124572888eb76b2776d7%2C1da076f24171d15fb4fb46a395ba85035dbab87f
1 parent abe6273
History
Tip revision: d932e8f7fa2d9401a71a19ff0932b2ce9a77c113 authored by Jim Chen on 14 January 2016, 22:21:59 UTC
Bug 1235475 - Crash at the exception source when an exception is in native code; r=snorp a=ritu
Tip revision: d932e8f

README.txt

back to top