harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Timoshenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4181) [drlvm][jit] Assertion `min_idx != (~(unsigned)0)' failed on Dacapo chart benchmark on x86_64
Date Fri, 15 Jun 2007 11:17:26 GMT

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

George Timoshenko commented on HARMONY-4181:
--------------------------------------------

quickfix:

Index: vm/jitrino/src/jet/compiler.cpp
===================================================================
--- vm/jitrino/src/jet/compiler.cpp     (revision 547250)
+++ vm/jitrino/src/jet/compiler.cpp     (working copy)
@@ -1400,8 +1400,8 @@
         if (gr == bp) continue;
         g_global_grs.push_back(gr);
     }
-    // ... for fr registers, leave 3 registers available for scratch
-    for (unsigned i=3; i<fr_num; i++) {
+    // ... for fr registers, leave 4 registers available for scratch
+    for (unsigned i=4; i<fr_num; i++) {
         AR fr = _fr(i);
         g_global_frs.push_back(fr);
     }
-------------------------

there should be 3 fp regs free from global usage.
But at the problem point 

m_global_rusage.test(i)

returns false only for 2 regs.

The problem is where the third non-global fp-reg was lost.

If it was lost due to the real reason the fix should be similar to the quickfix.
If the reg was lost by mistake the mistake should be fixed.






> [drlvm][jit] Assertion `min_idx != (~(unsigned)0)' failed on Dacapo chart benchmark on
x86_64
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4181
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4181
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: linux/x86_64, windows/x86_64
>            Reporter: Ivan Zvolsky
>         Attachments: HARMONY-4181-quickfix.patch
>
>
> Dacapo chart benchmark fails on both windows/x86_64 and linux/x86_64.
> You can reproduce this by the following command (note that on linux X server should be
up and DISPLAY variable set as required by chart benchmark):
> >java -showversion -jar dacapo-2006-10-MR2.jar -s large chart
> 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 = r547250, (Jun 14 2007), Linux/em64t/gcc 3.3.3, debug build
> http://harmony.apache.org
> ===== DaCapo chart starting =====
> The GC did not provide gc_add_weak_root_set_entry()
> java: /export/lab_drlbuild/_bta/build/checkouts/hdk/trunk/working_vm/vm/jitrino/src/jet/cg_regs.cpp:102:
Jitrino::Jet::AR Jitrino::Jet::CodeGen::valloc(Jitrino::Jet::jtype): Assertion `min_idx !=
(~(unsigned)0)' failed.
> SIGABRT in VM code.
> Stack trace:
>   0: raise (??:-1)
>   1: abort (??:-1)
>   2: new_do_write (??:-1)
>   3: _IO_file_xsputn@@GLIBC_2.2.5 (??:-1)
>   4: ?? (??:-1)
>   5: ?? (??:-1)
>   6: ?? (??:-1)
>   7: free (??:-1)
>   8: __assert_fail (??:-1)
> It's reproduced also on more recent revision r547502.
> Dacapo could be found here: http://sourceforge.net/project/showfiles.php?group_id=172498

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


Mime
View raw message