You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Strigun (JIRA)" <ji...@apache.org> on 2007/02/22 11:53:05 UTC

[jira] Created: (HARMONY-3228) [drlvm] Dacapo.xalan hangs up with default server+inliner options

[drlvm] Dacapo.xalan hangs up with default server+inliner options
-----------------------------------------------------------------

                 Key: HARMONY-3228
                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
             Project: Harmony
          Issue Type: Bug
          Components: App-Oriented Bug Reports
            Reporter: Vladimir Strigun


With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:

-XDjit.arg.optimizer.inline.growth_factor=210
-XDjit.arg.optimizer.inline.min_stop=240
-XDjit.arg.optimizer.inline.inline_small_method_max_size=75
-XDjit.arg.optimizer.inline.medium_method_max_size=1400
-XDjit.arg.optimizer.inline.large_method_min_size=1150
-XDjit.arg.optimizer.inline.leaf_bonus=2160
-XDjit.arg.optimizer.inline.synch_bonus=60
-XDjit.arg.optimizer.inline.min_benefit_threshold=70
-XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
-XDjit.arg.optimizer.inline.medium_method_bonus=300
-XDjit.arg.optimizer.inline.loop_bonus=200
-XDjit.arg.optimizer.inline.recursion_penalty=600
-XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
-XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140


Command line and output:
java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan

Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
http://incubator.apache.org/harmony
WARNING: max heap size is too large, reduced to 900 Mb
WARNING: min heap size reduced to 900 Mb
===== DaCapo xalan starting warmup =====
Normal completion.
===== DaCapo xalan completed warmup in 29397 msec =====
===== DaCapo xalan starting warmup =====
Normal completion.
===== DaCapo xalan completed warmup in 6484 msec =====
===== DaCapo xalan starting warmup =====
Normal completion.
===== DaCapo xalan completed warmup in 5939 msec =====
===== DaCapo xalan starting warmup =====
Normal completion.
===== DaCapo xalan completed warmup in 5783 msec =====
===== DaCapo xalan starting warmup =====
Normal completion.
===== DaCapo xalan completed warmup in 5565 msec =====
===== DaCapo xalan starting warmup =====
Normal completion.
===== DaCapo xalan completed warmup in 5471 msec =====
===== DaCapo xalan starting warmup =====
Normal completion.
===== DaCapo xalan completed warmup in 5658 msec =====
===== DaCapo xalan starting warmup =====
Normal completion.
===== DaCapo xalan completed warmup in 5440 msec =====
===== DaCapo xalan starting warmup =====

 




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


[jira] Updated: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Pavel Ozhdikhin updated HARMONY-3228:
-------------------------------------

    Attachment: reg_test.patch

A patch for the regression test is attached.

Patches has passed 'build test' on Windows and Linux IA32. Please commit them both.

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Attachments: reg_test.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Updated: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Pavel Ozhdikhin updated HARMONY-3228:
-------------------------------------

    Attachment: so2.20070314.patch

The preliminary patch for a new implementation of so2 is attached. It does not include lock coalescing yet so it is not for integration to SVN, just for inspection. It also enables tausimp optimization pass to reduce extra type and null checks.


> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Assigned To: Alexey Varlamov
>         Attachments: disable_so2.diff, eclipse.log, h3228.ex.patch, lusearch.log, reg_test.patch, so2.20070314.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Closed: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Alexey Varlamov closed HARMONY-3228.
------------------------------------

    Resolution: Fixed

Applied at r513632, only corrected regression test to be in JUnit format.
Thanks!

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Assigned To: Alexey Varlamov
>         Attachments: reg_test.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Updated: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Vladimir Ivanov updated HARMONY-3228:
-------------------------------------

    Attachment: h3228.ex.patch

exclude regression test for x86_64 lnx up to end of investigation

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Assigned To: Alexey Varlamov
>         Attachments: eclipse.log, h3228.ex.patch, lusearch.log, reg_test.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Commented: (HARMONY-3228) [drlvm] Dacapo.xalan hangs up with default server+inliner options

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

Pavel Ozhdikhin commented on HARMONY-3228:
------------------------------------------

Removing so2 optimization makes xalan passing. Looks like Jitrino.OPT issue.


> [drlvm] Dacapo.xalan hangs up with default server+inliner options
> -----------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports
>            Reporter: Vladimir Strigun
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Updated: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Vladimir Strigun updated HARMONY-3228:
--------------------------------------

    Attachment: eclipse.log

eclipse benchmark log for Linux Ia32

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Assigned To: Alexey Varlamov
>         Attachments: eclipse.log, reg_test.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Updated: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Pavel Ozhdikhin updated HARMONY-3228:
-------------------------------------

    Attachment: so2.patch

The cause of  the issue is a wrong assumption in the SO2 optimization algorithm in JIT. This optimization removes nested monenter/monexit pairs if there is an enveloping lock on the same object. In some cases it erroneously removes all monexits causing a hang. The preliminary patch is attached. Not fully tested yet but xalan passes with it. I'll submit a complete fix with the regression test soon.

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Attachments: so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Updated: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Tim Ellison updated HARMONY-3228:
---------------------------------

    Attachment:     (was: LockCoalescer.cpp)

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Attachments: disable_so2.diff, eclipse.log, h3228.ex.patch, lusearch.log, reg_test.patch, so2.20070314.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Commented: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Vladimir Strigun commented on HARMONY-3228:
-------------------------------------------

Unfortunately the issue should be reopened. After the full run of Dacapo I found regression:
eclipse and luseach benchmarks failed with server+inline emconf with 3228 applied.
Dacapo.lusearch fails with the following output  (command line: java -Xem:server_inline -cp . Harness -debug -n 5 lusearch ):
Util.getURL: returns file:/Z:/Users/sva/Dacapo/./data/lusearch.zip
Unpacking lusearch/
Unpacking lusearch/query00.txt
Unpacking lusearch/query01.txt
Unpacking lusearch/query02.txt
Unpacking lusearch/query03.txt
Unpacking lusearch/query04.txt
Unpacking lusearch/query05.txt
Unpacking lusearch/query06.txt
Unpacking lusearch/query07.txt
Unpacking lusearch/query08.txt
Unpacking lusearch/query09.txt
Unpacking lusearch/query10.txt
Unpacking lusearch/query11.txt
Unpacking lusearch/query12.txt
Unpacking lusearch/query13.txt
Unpacking lusearch/query14.txt
Unpacking lusearch/query15.txt
Unpacking lusearch/query16.txt
Unpacking lusearch/query17.txt
Unpacking lusearch/query18.txt
Unpacking lusearch/query19.txt
Unpacking lusearch/query20.txt
Unpacking lusearch/query21.txt
Unpacking lusearch/query22.txt
Unpacking lusearch/query23.txt
Unpacking lusearch/query24.txt
Unpacking lusearch/query25.txt
Unpacking lusearch/query26.txt
Unpacking lusearch/query27.txt
Unpacking lusearch/query28.txt
Unpacking lusearch/query29.txt
Unpacking lusearch/query30.txt
Unpacking lusearch/query31.txt
Unpacking lusearch/query32.txt
Unpacking lusearch/query33.txt
Unpacking lusearch/query34.txt
Unpacking lusearch/query35.txt
Unpacking lusearch/query36.txt
Unpacking lusearch/query37.txt
Unpacking lusearch/query38.txt
Unpacking lusearch/query39.txt
Unpacking lusearch/query40.txt
Unpacking lusearch/query41.txt
Unpacking lusearch/query42.txt
Unpacking lusearch/query43.txt
Unpacking lusearch/query44.txt
Unpacking lusearch/query45.txt
Unpacking lusearch/query46.txt
Unpacking lusearch/query47.txt
Unpacking lusearch/query48.txt
Unpacking lusearch/query49.txt
Unpacking lusearch/query50.txt
Unpacking lusearch/query51.txt
Unpacking lusearch/query52.txt
Unpacking lusearch/query53.txt
Unpacking lusearch/query54.txt
Unpacking lusearch/query55.txt
Unpacking lusearch/query56.txt
Unpacking lusearch/query57.txt
Unpacking lusearch/query58.txt
Unpacking lusearch/query59.txt
Unpacking lusearch/query60.txt
Unpacking lusearch/query61.txt
Unpacking lusearch/query62.txt
Unpacking lusearch/query63.txt
Unpacking lusearch/index-default/
Unpacking lusearch/index-default/_21.cfs
Unpacking lusearch/index-default/_3g.cfs
Unpacking lusearch/index-default/deletable
Unpacking lusearch/index-default/segments
Benchmark parameters: -index lusearch/index-default -threads 32 -queries lusearch/query -output lusearch.out 
===== DaCapo lusearch starting warmup =====

Dacapo.eclipse output:
===== DaCapo eclipse starting warmup =====
<setting up workspace...>
<creating projects..............................................................>
<running tests at level 0...>
<performing build tests...>


> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Assigned To: Alexey Varlamov
>         Attachments: reg_test.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Assigned: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Alexey Varlamov reassigned HARMONY-3228:
----------------------------------------

    Assignee:     (was: Alexey Varlamov)

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Attachments: disable_so2.diff, eclipse.log, h3228.ex.patch, LockCoalescer.cpp, lusearch.log, reg_test.patch, so2.20070314.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Updated: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Vladimir Strigun updated HARMONY-3228:
--------------------------------------

    Attachment: lusearch.log

Lusearch log for Linux ia32

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Assigned To: Alexey Varlamov
>         Attachments: eclipse.log, lusearch.log, reg_test.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Commented: (HARMONY-3228) [drlvm] Dacapo.xalan hangs up with default server+inliner options

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

Peter Novodvorsky commented on HARMONY-3228:
--------------------------------------------

>From what I understand now there are 11 threads stalled when whole thing hangs: one is main thread, another is signal handler thread, another one is profiler thread and other eight are hanging in ClassLoader$SytemClassLoader.loadClass() while trrying to enter the monitor (lock it's mutex). This loadClass is synchronized function and it seems that another thread already entered that function and entered the monitor however forgot to exit it. I still don't undnerstand how this can happen, but this can be problem of inlining.



> [drlvm] Dacapo.xalan hangs up with default server+inliner options
> -----------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports
>            Reporter: Vladimir Strigun
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Updated: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Alexey Varlamov updated HARMONY-3228:
-------------------------------------

    Component/s: DRLVM
        Summary: [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options  (was: [drlvm] Dacapo.xalan hangs up with default server+inliner options)

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Updated: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Pavel Ozhdikhin updated HARMONY-3228:
-------------------------------------

    Attachment: so2.new.patch

The new patch is attached: so2.new.patch. It account Mikhail's comments:
 - Class definition is moved from .h file to .cpp
 - BitSet is used instead of StlSet
 - findClosestMonExit renamed to eliminateClosestMonExits
 - Check for domination in recursive method is removed


> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Attachments: reg_test.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Commented: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Alexey Varlamov commented on HARMONY-3228:
------------------------------------------

Excluded reg.test and disabled so2 (in SVN trunk) until the issue is fixed.

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Assigned To: Alexey Varlamov
>         Attachments: disable_so2.diff, eclipse.log, h3228.ex.patch, lusearch.log, reg_test.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Reopened: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Vladimir Strigun reopened HARMONY-3228:
---------------------------------------


I have regression on win ia32 and linux ia32

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Assigned To: Alexey Varlamov
>         Attachments: eclipse.log, reg_test.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Assigned: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Alexey Varlamov reassigned HARMONY-3228:
----------------------------------------

    Assignee: Alexey Varlamov

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Assigned To: Alexey Varlamov
>         Attachments: reg_test.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Updated: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Pavel Ozhdikhin updated HARMONY-3228:
-------------------------------------

    Attachment: disable_so2.diff

The patch to disable temporary so2 optimization is attached.

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Assigned To: Alexey Varlamov
>         Attachments: disable_so2.diff, eclipse.log, h3228.ex.patch, lusearch.log, reg_test.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Updated: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Pavel Ozhdikhin updated HARMONY-3228:
-------------------------------------

    Attachment: LockCoalescer.cpp

An unfinished work on the optimization for nested lock removal and lock coalescing. Is not for commit - just to let others to review and discuss.

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>            Assignee: Alexey Varlamov
>         Attachments: disable_so2.diff, eclipse.log, h3228.ex.patch, LockCoalescer.cpp, lusearch.log, reg_test.patch, so2.20070314.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Commented: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Mikhail Fursov commented on HARMONY-3228:
-----------------------------------------

My review:
Patch is OK and should work as expected

Minor issues:
a) Why do you need .h file declarations?
b) findClosestMonExit actually eliminates closest monexits
c) instead of StlSet<Node*>& monexits we can use bool[] array with node ids used as indexes.
d) I think that dominator tree check is useless here. 



> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Attachments: reg_test.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Commented: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Vladimir Strigun commented on HARMONY-3228:
-------------------------------------------

Thank you, I can't reproduce the issue with the latest patch. 

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Assigned To: Alexey Varlamov
>         Attachments: reg_test.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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


[jira] Commented: (HARMONY-3228) [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options

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

Pavel Ozhdikhin commented on HARMONY-3228:
------------------------------------------

I identified a test case when the new algorithm also fails. I'm working for the improved fix. Thanks for pointing to the regression. The workaround is to turn of so2 optimization at all - it has never been correct.

> [drlvm][jit][opt] Dacapo.xalan hangs up with default server+inliner options
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-3228
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3228
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vladimir Strigun
>         Assigned To: Alexey Varlamov
>         Attachments: eclipse.log, lusearch.log, reg_test.patch, so2.new.patch, so2.patch
>
>
> With the next inliner option included to default server.emconf Dacapo.xalan hangs up after several iteration. Inliner options:
> -XDjit.arg.optimizer.inline.growth_factor=210
> -XDjit.arg.optimizer.inline.min_stop=240
> -XDjit.arg.optimizer.inline.inline_small_method_max_size=75
> -XDjit.arg.optimizer.inline.medium_method_max_size=1400
> -XDjit.arg.optimizer.inline.large_method_min_size=1150
> -XDjit.arg.optimizer.inline.leaf_bonus=2160
> -XDjit.arg.optimizer.inline.synch_bonus=60
> -XDjit.arg.optimizer.inline.min_benefit_threshold=70
> -XDjit.arg.optimizer.inline.inline_small_method_bonus=1000
> -XDjit.arg.optimizer.inline.medium_method_bonus=300
> -XDjit.arg.optimizer.inline.loop_bonus=200
> -XDjit.arg.optimizer.inline.recursion_penalty=600
> -XDjit.arg.optimizer.inline.exact_single_parameter_bonus=70
> -XDjit.arg.optimizer.inline.exact_all_parameter_bonus=140
> Command line and output:
> java -showversion -Xbootclasspath/p: xalan.jar -Xmx1024M -Xms1024M -Dgc.lp=true -Xem:server_inline -cp . Harness -n 10 xalan
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r509175, (Feb 19 2007), Windows/ia32/msvc 1310, release build
> http://incubator.apache.org/harmony
> WARNING: max heap size is too large, reduced to 900 Mb
> WARNING: min heap size reduced to 900 Mb
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 29397 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 6484 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5939 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5783 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5565 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5471 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5658 msec =====
> ===== DaCapo xalan starting warmup =====
> Normal completion.
> ===== DaCapo xalan completed warmup in 5440 msec =====
> ===== DaCapo xalan starting warmup =====
>  

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