[jruby-user] Re: Can I enable invokedynamic in JRUBYC command

"O. L." <[email protected]>
Newsgroups gmane.comp.lang.jruby.user
Message-ID <[email protected]>
Thank you for your reply. But the output looks more like a dynamic call 
sequence, which is not what I'm looking for--byte codes that are 
generated statically.

Nevertheless, my teacher has found a way to deal with this issue so I 
post his solution here in case anyone else is looking for similar 
solution:

export JRUBY_OPTS=-Xcompile.invokedynamic=true


Chris Seaton wrote in post #1154612:
> I can't answer your jrubyc question, but have you tried
> -Xcompile.dump=true
> with jruby rather than jrubyc? I can see the indy instructions when I
> use
> this.
>
> This lets you see the byte code generated. It's not in a class file, but
> if
> you really want a file on disk for some reason you could probably write
> the
> generated code to disk instead of passing it to a class loader when
> JRuby
> compiles it.
>
> Chris

-- 
Posted via http://www.ruby-forum.com/.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.