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

[jira] Created: (HARMONY-3052) [drlvm][jit][opt] unguard configuration and value profiler improvements

[drlvm][jit][opt] unguard configuration and value profiler improvements
-----------------------------------------------------------------------

                 Key: HARMONY-3052
                 URL: https://issues.apache.org/jira/browse/HARMONY-3052
             Project: Harmony
          Issue Type: Improvement
          Components: DRLVM
         Environment: Any.
            Reporter: Pavel Ozhdikhin


The attached patch contains the following improvements for the High-Level Optimizer in the Jitrino.OPT JIT compiler:

1. "Unguard" configuration enabled in -Xem:server mode:

      Devirtualization pass has been split to the 2 passes: devirt_vurtual and divert_intf. devirt_virtual does guarded
      devirtualization of all virtual methods in SD1_OPT and no devirt for interface calls. During SD2_OPT phase
      the untaken guards are removed during the unguard pass. Then devirt_intf devirtualizes interface calls basing
      on the value profile information.

      Please note that this patch changes the name and default value for the parameter "devirt_intf_methods" (true)
      to "devirt_interface_calls" (false). Also one new parameter is introduced to support the sequence described
      above: "devirt_virtual_calls" (true). 

2. Value profile dumps are implemented:

     The value profile collector module now supports value profile dumps to the log stream for the debugging purpose

3. A number of small improvements positively affecting precision of the value profile.

The patch has been tested on Windows/IA32, Linux/IA32 and Linux/EM64T : build test passed on Win and Lin IA32,
on Lin/EM64T smoke test exception.FinalizeStackTest failed before and after applying the patch.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-3052) [drlvm][jit][opt] unguard configuration and value profiler improvements

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov reassigned HARMONY-3052:
----------------------------------------

    Assignee: Alexey Varlamov

> [drlvm][jit][opt] unguard configuration and value profiler improvements
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3052
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3052
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Any.
>            Reporter: Pavel Ozhdikhin
>         Assigned To: Alexey Varlamov
>         Attachments: unguard_and_vp_improvements.patch
>
>
> The attached patch contains the following improvements for the High-Level Optimizer in the Jitrino.OPT JIT compiler:
> 1. "Unguard" configuration enabled in -Xem:server mode:
>       Devirtualization pass has been split to the 2 passes: devirt_vurtual and divert_intf. devirt_virtual does guarded
>       devirtualization of all virtual methods in SD1_OPT and no devirt for interface calls. During SD2_OPT phase
>       the untaken guards are removed during the unguard pass. Then devirt_intf devirtualizes interface calls basing
>       on the value profile information.
>       Please note that this patch changes the name and default value for the parameter "devirt_intf_methods" (true)
>       to "devirt_interface_calls" (false). Also one new parameter is introduced to support the sequence described
>       above: "devirt_virtual_calls" (true). 
> 2. Value profile dumps are implemented:
>      The value profile collector module now supports value profile dumps to the log stream for the debugging purpose
> 3. A number of small improvements positively affecting precision of the value profile.
> The patch has been tested on Windows/IA32, Linux/IA32 and Linux/EM64T : build test passed on Win and Lin IA32,
> on Lin/EM64T smoke test exception.FinalizeStackTest failed before and after applying the patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-3052) [drlvm][jit][opt] unguard configuration and value profiler improvements

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov resolved HARMONY-3052.
--------------------------------------

    Resolution: Fixed

Applied at r502579

> [drlvm][jit][opt] unguard configuration and value profiler improvements
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3052
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3052
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Any.
>            Reporter: Pavel Ozhdikhin
>         Assigned To: Alexey Varlamov
>         Attachments: unguard_and_vp_improvements.patch
>
>
> The attached patch contains the following improvements for the High-Level Optimizer in the Jitrino.OPT JIT compiler:
> 1. "Unguard" configuration enabled in -Xem:server mode:
>       Devirtualization pass has been split to the 2 passes: devirt_vurtual and divert_intf. devirt_virtual does guarded
>       devirtualization of all virtual methods in SD1_OPT and no devirt for interface calls. During SD2_OPT phase
>       the untaken guards are removed during the unguard pass. Then devirt_intf devirtualizes interface calls basing
>       on the value profile information.
>       Please note that this patch changes the name and default value for the parameter "devirt_intf_methods" (true)
>       to "devirt_interface_calls" (false). Also one new parameter is introduced to support the sequence described
>       above: "devirt_virtual_calls" (true). 
> 2. Value profile dumps are implemented:
>      The value profile collector module now supports value profile dumps to the log stream for the debugging purpose
> 3. A number of small improvements positively affecting precision of the value profile.
> The patch has been tested on Windows/IA32, Linux/IA32 and Linux/EM64T : build test passed on Win and Lin IA32,
> on Lin/EM64T smoke test exception.FinalizeStackTest failed before and after applying the patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3052) [drlvm][jit][opt] unguard configuration and value profiler improvements

Posted by "Pavel Ozhdikhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Ozhdikhin updated HARMONY-3052:
-------------------------------------

    Attachment: unguard_and_vp_improvements.patch

The patch is attached. Please review and commit it.


> [drlvm][jit][opt] unguard configuration and value profiler improvements
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3052
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3052
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Any.
>            Reporter: Pavel Ozhdikhin
>         Attachments: unguard_and_vp_improvements.patch
>
>
> The attached patch contains the following improvements for the High-Level Optimizer in the Jitrino.OPT JIT compiler:
> 1. "Unguard" configuration enabled in -Xem:server mode:
>       Devirtualization pass has been split to the 2 passes: devirt_vurtual and divert_intf. devirt_virtual does guarded
>       devirtualization of all virtual methods in SD1_OPT and no devirt for interface calls. During SD2_OPT phase
>       the untaken guards are removed during the unguard pass. Then devirt_intf devirtualizes interface calls basing
>       on the value profile information.
>       Please note that this patch changes the name and default value for the parameter "devirt_intf_methods" (true)
>       to "devirt_interface_calls" (false). Also one new parameter is introduced to support the sequence described
>       above: "devirt_virtual_calls" (true). 
> 2. Value profile dumps are implemented:
>      The value profile collector module now supports value profile dumps to the log stream for the debugging purpose
> 3. A number of small improvements positively affecting precision of the value profile.
> The patch has been tested on Windows/IA32, Linux/IA32 and Linux/EM64T : build test passed on Win and Lin IA32,
> on Lin/EM64T smoke test exception.FinalizeStackTest failed before and after applying the patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3052) [drlvm][jit][opt] unguard configuration and value profiler improvements

Posted by "Pavel Ozhdikhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Ozhdikhin updated HARMONY-3052:
-------------------------------------

    Patch Info: [Patch Available]

> [drlvm][jit][opt] unguard configuration and value profiler improvements
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3052
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3052
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Any.
>            Reporter: Pavel Ozhdikhin
>         Attachments: unguard_and_vp_improvements.patch
>
>
> The attached patch contains the following improvements for the High-Level Optimizer in the Jitrino.OPT JIT compiler:
> 1. "Unguard" configuration enabled in -Xem:server mode:
>       Devirtualization pass has been split to the 2 passes: devirt_vurtual and divert_intf. devirt_virtual does guarded
>       devirtualization of all virtual methods in SD1_OPT and no devirt for interface calls. During SD2_OPT phase
>       the untaken guards are removed during the unguard pass. Then devirt_intf devirtualizes interface calls basing
>       on the value profile information.
>       Please note that this patch changes the name and default value for the parameter "devirt_intf_methods" (true)
>       to "devirt_interface_calls" (false). Also one new parameter is introduced to support the sequence described
>       above: "devirt_virtual_calls" (true). 
> 2. Value profile dumps are implemented:
>      The value profile collector module now supports value profile dumps to the log stream for the debugging purpose
> 3. A number of small improvements positively affecting precision of the value profile.
> The patch has been tested on Windows/IA32, Linux/IA32 and Linux/EM64T : build test passed on Win and Lin IA32,
> on Lin/EM64T smoke test exception.FinalizeStackTest failed before and after applying the patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3052) [drlvm][jit][opt] unguard configuration and value profiler improvements

Posted by "Pavel Ozhdikhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467057 ] 

Pavel Ozhdikhin commented on HARMONY-3052:
------------------------------------------

Update on patch testing: 'build test' passed on Linux/EM64T cleanly (first time I did not specify -Dos.arch=x86_64 that caused picking up a wrong exclude list.


> [drlvm][jit][opt] unguard configuration and value profiler improvements
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3052
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3052
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Any.
>            Reporter: Pavel Ozhdikhin
>         Attachments: unguard_and_vp_improvements.patch
>
>
> The attached patch contains the following improvements for the High-Level Optimizer in the Jitrino.OPT JIT compiler:
> 1. "Unguard" configuration enabled in -Xem:server mode:
>       Devirtualization pass has been split to the 2 passes: devirt_vurtual and divert_intf. devirt_virtual does guarded
>       devirtualization of all virtual methods in SD1_OPT and no devirt for interface calls. During SD2_OPT phase
>       the untaken guards are removed during the unguard pass. Then devirt_intf devirtualizes interface calls basing
>       on the value profile information.
>       Please note that this patch changes the name and default value for the parameter "devirt_intf_methods" (true)
>       to "devirt_interface_calls" (false). Also one new parameter is introduced to support the sequence described
>       above: "devirt_virtual_calls" (true). 
> 2. Value profile dumps are implemented:
>      The value profile collector module now supports value profile dumps to the log stream for the debugging purpose
> 3. A number of small improvements positively affecting precision of the value profile.
> The patch has been tested on Windows/IA32, Linux/IA32 and Linux/EM64T : build test passed on Win and Lin IA32,
> on Lin/EM64T smoke test exception.FinalizeStackTest failed before and after applying the patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.