You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Natalya Golovleva (JIRA)" <ji...@apache.org> on 2007/01/09 15:06:27 UTC

[jira] Commented: (HARMONY-2874) [drlvm][jit] Scalar replacement implementation

    [ https://issues.apache.org/jira/browse/HARMONY-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463286 ] 

Natalya Golovleva commented on HARMONY-2874:
--------------------------------------------

The latest patch for scalar replacement optimization (scalar.3.patch) was tested on windows only.
The problem with NullPoinerException for method escaped class instances was resolved.
The escape pipeline step should be used as 'escape,dessa,ssa' in configuration file. This is a temporary decision.
This sequence need to be placed before inline_helpers pipeline step in SD2_OPT optimization pass.

-XDjit.SD2_OPT.path.optimizer=...,simplify,dce,uce,lazyexc,escape,dessa,ssa,inline_helpers,purge,simplify,...

The following flags may be used for scalar replacement optimization:

-XDjit.SD2_OPT.arg.optimizer.escape.do_scalar_repl=yes   (default - no)
-XDjit.SD2_OPT.arg.optimizer.escape.do_esc_scalar_repl=yes   (default - no)  - to optimize method escaped objects
-XDjit.SD2_OPT.arg.optimizer.escape.do_scalar_repl_only_final_fields=yes (default - no) - to optimize objects with final fiels only


> [drlvm][jit] Scalar replacement implementation
> ----------------------------------------------
>
>                 Key: HARMONY-2874
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2874
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Natalya Golovleva
>         Attachments: scalar.1.patch, scalar.1.patch, scalar.3.patch
>
>
> This is a preliminary part of the scalar replacement optimization for IA-32. 
> It uses escape analysis and may be applied for 
>   - local class instances and  local arrays,
>   - method escaped class instances.
> Not ready for commit yet.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira