harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Strigun (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2130) DaCapo antlr fails on drlvm
Date Thu, 07 Dec 2006 16:08:25 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2130?page=comments#action_12456467 ] 
            
Vladimir Strigun commented on HARMONY-2130:
-------------------------------------------

Robin,

Unfortunately I can't say that I agree with you. Yes, antlr benchmark works correctly on more
that 8 VMs, but the reason that benchmark finished abnormal on DRLVM is antl.jar in bootclasspath
of VM. So, if I correctly understand the behavior of the bench will be the same on other VM's
with antlr.jar bootclasspathed. As far as I can see from build file of Dacapo, you download
antlr sources, patch it (the main point here is removing of System.exit() call from main method
of Tool class), build it and use run Tool class during benchmarking. 
I've suggested to add additional method to AntlrHarness class that allows to avoid usage of
main() function. In that case benchmark passes on VM with antlr bootclasspathed. Of course,
version check should be done prior to execution.

What do you think about it?


> DaCapo antlr fails on drlvm
> ---------------------------
>
>                 Key: HARMONY-2130
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2130
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports
>         Environment: Linux (but suspected on windows too)
>            Reporter: Robin Garner
>
> The DaCapo antlr benchmark appears to use a version of antlr supplied by drlvm/harmony
class libraries.  The dacapo benchmark is based on antlr v2.7.2, and running
> $ $DRLVM_HOME/jre/bin/java -jar $HOME/dacapo-2006-10.jar antlr
> ===== DaCapo antlr starting =====
> Running antlr on grammar antlr/cpp/calc.g
> ANTLR Parser Generator   Version 2.7.5 (20050128)   1989-2005 jGuru.com
> whereas on J9, we get
> $ /opt/ibm-java2-i386-50/bin/java -jar $HOME/dacapo-2006-10.jar antlr
> ===== DaCapo antlr starting =====
> Running antlr on grammar antlr/cpp/calc.g
> ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
> A workaround is possible by setting
> -Xbootclasspath/p:antlr.jar
> but this is clearly undesirable.

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

        

Mime
View raw message