Assigned
Status Update
Comments
zm...@gmail.com <zm...@gmail.com> #2
I just attached a minimal test application with duplicated and multiline traces. Provided are a couple of logcat files and screenshots.
To me this isn'r really a big problem, since AS compiles my application and lets me debug it. That's what I use it for in my company. I just found it a bit annoying that something that worked one way in AS 2.x and 3.0, suddenly changed in 3.1. The new way results more time-consuming to me while debugging and reviewing the logs.
Could this be made configurable? Not necessarily in the UI, but editing some properties file. Thanks. :)
To me this isn'r really a big problem, since AS compiles my application and lets me debug it. That's what I use it for in my company. I just found it a bit annoying that something that worked one way in AS 2.x and 3.0, suddenly changed in 3.1. The new way results more time-consuming to me while debugging and reviewing the logs.
Could this be made configurable? Not necessarily in the UI, but editing some properties file. Thanks. :)
ch...@google.com <ch...@google.com> #3
I have the same problem.
Description
A given startup profile may miss methods, for example, due to the startup profile being stale or due to limitations in the startup profile generation.
R8 could help mitigate this by automatically inferring which methods must be startup methods and including these in the startup profile.
Example rules:
If a method is a startup method, then the class initializer of the method's class must also be a startup method.
If a startup method is only called from a single context, then the context must also be a startup method.
If a static field is accessed unconditionally a startup method, then the class initializer of the field's class must also be a startup method. (A similar rule can be added for invokes to static methods.)
A static field is accessed unconditionally if the field instruction reverse dominates the method entry, i.e., the method entry is guaranteed to execute the field instruction (assuming no exceptions arise).