harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Ozhdikhin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3519) [drlvm][jit][server] the smoke test thread.ThreadInterrupt failed in server mode
Date Fri, 13 Apr 2007 09:47:15 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pavel Ozhdikhin updated HARMONY-3519:
-------------------------------------

    Attachment: 3519.20070413.patch

The fix for the issue is attached: 3519.20070413.patch

The root cause of the bug is appearance of the infinite loops in the High-Level IR due to
elimination of the loop exit condition by the memopt optimization. Until now Jitrino.OPT had
a separate routine in the translator which broke infinite loops. Now we encounter such loops
in the middle of HLO path. Infinite loops complicates CFG anlysis so we should break them.

A new scheme for breaking infinite loops has been implemented.
A new instruction has been introduced in the High-Level IR: PseudoThrow (it substituted the
PseudoCanThrow JIT helper call). It is added at every back branch during the bytecode translation
phase and then a separate pass removes extra PseudoThrow instructions for the loops which
have other dispatch edges breaking the loop.

The patch also unexcludes the thread.ThreadInterrupt smoke test.

The patch is tested on Win32 and Lin/EM64T: 'build -Dtest.mode="jit,opt,srv" test' passed
on debug build.
SPECjbb2005 passed on Win32 in server JIT mode.


> [drlvm][jit][server] the smoke test thread.ThreadInterrupt failed in server mode
> --------------------------------------------------------------------------------
>
>                 Key: HARMONY-3519
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3519
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>         Attachments: 3519.20070413.patch, el-update.patch, ex.patch
>
>
> The smoke test thread.ThreadInterrupt failed in server mode with output:
> ------------------ log -----------------------------
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.
> -----------------------------------------------------

-- 
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