harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Egor Pasko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3243) [drlvm][jit][opt]It's possible to fill array with constant much faster
Date Fri, 16 Mar 2007 12:02:09 GMT

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

Egor Pasko commented on HARMONY-3243:

After applying the patch it failed for me during compilation of Thread::<init>:
/home/pasko/svn/1/trunk/working_vm/vm/jitrino/src/shared/LoopTree.h:85: bool Jitrino::LoopTree::hasLoops()
const: Assertion `isValid()' failed.

steps to reproduce:
$DRLVM -showversion -Xem:server tp
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 = r515555, (Mar 15 2007), Linux/ia32/gcc 4.0.3, debug build
java: /home/pasko/svn/1/trunk/working_vm/vm/jitrino/src/shared/LoopTree.h:85: bool Jitrino::LoopTree::hasLoops()
const: Assertion `isValid()' failed.
SIGABRT in VM code.
Stack trace:
addr2line: '[vdso]': No such file

hangs here while printig stack

the actual stack can be obtained via running from within debugger:
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7a4b9a1 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7a4d2b9 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7a44f51 in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4  0xb5b6059f in Jitrino::LoopTree::hasLoops (this=0x8426090) at LoopTree.h:85
#5  0xb5b5f152 in Jitrino::FastArrayFillPass::_run (this=0x843533c, irManager=@0x8432e90)
    at /home/pasko/svn/1/trunk/working_vm/vm/jitrino/src/optimizer/FastArrayFilling.cpp:52
#6  0xb5da6196 in Jitrino::OptPass::run (this=0x843533c) at /home/pasko/svn/1/trunk/working_vm/vm/jitrino/src/optimizer/optpass.cpp:61
#7  0xb5c77c8b in Jitrino::runPipeline (c=0xbf989528) at /home/pasko/svn/1/trunk/working_vm/vm/jitrino/src/main/Jitrino.cpp:226
#8  0xb5c7829a in Jitrino::compileMethod (cc=0xbf989528) at /home/pasko/svn/1/trunk/working_vm/vm/jitrino/src/main/Jitrino.cpp:261
#9  0xb5c783ba in Jitrino::Jitrino::CompileMethod (cc=0xbf989528) at /home/pasko/svn/1/trunk/working_vm/vm/jitrino/src/main/Jitrino.cpp:286

that should be easily fixable

Ubuntu 6.06.1 LTS

> [drlvm][jit][opt]It's possible to fill array with constant much faster
> ----------------------------------------------------------------------
>                 Key: HARMONY-3243
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3243
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Nikolay Sidelnikov
>         Assigned To: Alexey Varlamov
>         Attachments: faf_em64t.patch, tp.java
> Filling an array with a constant is an often code pattern (see attached example).
> We can encrease speed of such operation in about 4 times.

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

View raw message