Charles Oliver Nutter a écrit :
> Eugene Kuleshov wrote:
>   
>>   In my subjective tests, the StackMap calculation overhead is much
>> higher then performance gain you'll get from the new verifier. This is
>> actually by design of the new verifier, so pre-verification step when
>> StackMap is generated runs off line and can take long, but
>> verification at run time is really quick because it uses pre-
>> calculated StackMap structures.
>>   The only chance to avoid that is to not use COMPUTE_FRAMES (skip the
>> data flow analysis algorithm) and generate StackMap together with the
>> bytecode if you know your code structure and type hierarchies.
>>     
Eugene, even if you generate StackMap 'by hand', there is a problem if 
there is a resizing (GOTO => GOTO_W),
because StackMap attribute can't be updated  incrementally.
In that case, ASM reparse the whole byte-code with COMPUTE_FRAMES enabled.

Rémi

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to jvm-languages@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to