Request for review: JDK-8011260: fatal error: LineNumberTable attribute has wrong length in class file

John Rose john.r.rose at oracle.com
Thu Apr 18 13:08:56 PDT 2013


On Apr 12, 2013, at 1:32 PM, Remi Forax <forax at univ-mlv.fr> wrote:

> This feature is used not only by me but by other dynamic language runtime implementers,
> I think that at least General Electrics Magik use it too because it allows to spit bytecodes very fast at runtime
> (I don't know why Nashorn doesn't use it BTW).
> 
> If you enable bytecode verification, the issue is not only  that verifying the bytecode take time
> in the VM, it's also that generating the StackFrames also take times (the general algorithm is not linear)
> in the compiler of the dynamic runtime.
> 
> So yes, it can cause a SIGSEGV but not more that Unsafe.putInt,
> so please don't change the actual behaviour.

Thanks for the info., Remi.

Harold, I am OK with any outcome that preserves or enhances the compatibility of the anonymous class with its host class.

— John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20130418/d3311e7d/attachment.html 


More information about the hotspot-runtime-dev mailing list