Thursday, September 30, 2010

[android-developers] Re: VerifyError reloaded

On Sep 29, 11:32 am, Dirk <dirkb...@googlemail.com> wrote:
> In order to get around the problem, I tried to replace the whole
> switch-statement with lots of if-elseif statements.
> Unfortunately, another problem arose. The Verifyer now says:
>
> 09-29 18:02:44.058: WARN/dalvikvm(450): VFY: arbitrarily rejecting
> large method (regs=127 count=34916)

I fixed that one too while I was at it. The limit was intended to
prevent the verifier from soaking up huge amounts of memory, but (a)
the limit is too low, and (b) there are better mechanisms in the
system for doing that. So now it's just a warning that says, "hey,
this is huge".

With both fixes in place, the original code passes.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate