harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Salikh Zakirov <Salikh.Zaki...@Intel.com>
Subject Re: [drlvm][jit] How to override jit compilation?
Date Mon, 30 Oct 2006 12:04:40 GMT
Mikhail Fursov wrote:
> The solutions we have today:
> 1) If you have only a few methods to be affected: create separate JIT
> instance without inliner and add method filters to EM configuration file.
> Check
> http://incubator.apache.org/harmony/subcomponents/drlvm/emguide.htmland
> *.emconf files for details.
> 2) If you need to avoid inlining of special method in all Java methods you
> can use 'skip_methods' parameter of inliner pass. See opt.emconf file to
> check how to pass parameters to inliner.
> 3) Replace all calls to your method with VMHelperCall in translator.
> Process
> it as direct calls in codegenerator. This solution was already proposed by
> Egor.

For the sake of completeness, there is one more solution

4) mark methods as 'native' in java sources and provide "native stub overrides" in

View raw message