harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Harmony Wiki] Update of "Jitrino OPT/inline helpers" by Mikhail Fursov
Date Tue, 13 May 2008 09:19:59 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.

The following page has been changed by Mikhail Fursov:
http://wiki.apache.org/harmony/Jitrino_OPT/inline_helpers

New page:
''' 'inline_helpers' ''' - provides a mechanism to inline various VM helpers
[[BR]][[BR]]

The optimization examines every HIR instruction and searches for HIR opcodes that lead to
generation of VM helpers. Every suitable for the optimization instruction is replaced with
a direct call of a special Java method. Finally the optimization calls inlining of this method.
[[BR]][[BR]]
The body of the method used as a replacement for complex HIR instruction must be provided
by VM component. 
[[BR]]
The method can be can be written using [http://rvm.codehaus.org/docs/api/org/vmmagic/unboxed/package-summary.html
org.vmmagic.unboxed] package that allows to use direct memory access from Java.
[[BR]][[BR]]

Example of 'inline_helpers' configuration from 'server.emconf' file:

{{{

#helper inliner configuration

-XX:jit.SD2_OPT.SD2_OPT_helper_inliner_pipeline.path=ssa
-XX:jit.SD2_OPT.arg.optimizer.inline_helpers.pipeline=SD2_OPT_helper_inliner_pipeline

-XX:jit.SD2_OPT.arg.optimizer.inline_helpers.VM_RT_NEW_RESOLVED_USING_VTABLE_AND_SIZE=on
-XX:jit.SD2_OPT.arg.optimizer.inline_helpers.VM_RT_NEW_RESOLVED_USING_VTABLE_AND_SIZE_hotnessPercent=1

}}}

Mime
View raw message