You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Fedotov (JIRA)" <ji...@apache.org> on 2007/01/31 12:00:14 UTC
[jira] Created: (HARMONY-3098) [jitrino][jet] fails to compile
interlaced subroutines
[jitrino][jet] fails to compile interlaced subroutines
------------------------------------------------------
Key: HARMONY-3098
URL: https://issues.apache.org/jira/browse/HARMONY-3098
Project: Harmony
Issue Type: Bug
Components: DRLVM
Environment: Windows ia32
Reporter: Alexei Fedotov
Attachments: JsrNoRet.class, JsrNoRet2.j
JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
[...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3098) [drlvm][jit] Jitrino fails to
compile interlaced subroutines
Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikhail Fursov updated HARMONY-3098:
------------------------------------
Patch Info: [Patch Available]
Summary: [drlvm][jit] Jitrino fails to compile interlaced subroutines (was: [drlvm][jit][jet] fails to compile interlaced subroutines)
> [drlvm][jit] Jitrino fails to compile interlaced subroutines
> ------------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Assignee: Mikhail Fursov
> Attachments: combined.diff, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-OPT.patch, JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3098) [drlvm][jit][jet] fails to compile
interlaced subroutines
Posted by "George Timoshenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Timoshenko updated HARMONY-3098:
---------------------------------------
Attachment: HARMONY-3098-OPT.patch
The patch for OPT
it is not completely tested.
Please do not hurry to commit
> [drlvm][jit][jet] fails to compile interlaced subroutines
> ---------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Attachments: HARMONY-3098-JET-quickfix.patch, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-OPT.patch, JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3098) [drlvm][jit] Jitrino fails to
compile interlaced subroutines
Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530088 ]
Alexey Varlamov commented on HARMONY-3098:
------------------------------------------
George, Mikhail,
it seems regression test is missing in SVN for this issue ;)
> [drlvm][jit] Jitrino fails to compile interlaced subroutines
> ------------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Assignee: Mikhail Fursov
> Attachments: combined.diff, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-OPT.patch, JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3098) [drlvm][jit][jet] fails to compile
interlaced subroutines
Posted by "George Timoshenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524062 ]
George Timoshenko commented on HARMONY-3098:
--------------------------------------------
The byte code of 'main' is quite compact:
public static void main(java.lang.String[]);
Code:
0: jsr 7
3: jsr 12
6: return
7: astore 1
9: jsr 16
12: astore 1
14: ret 1
16: ret 1
================================
As there are no 'astore 1' at offset 16, the instruction '16: ret 1' returns the execution to the '3' offset (stored into local 1 by inst at offset 7).
If we assume that we have two subroutines here
1) target is 7, respective 'ret' is at 16
2) target is 16, respective 'ret' is at 16
The test becomes issegal as it contradicts to JVM Spec:
When executing the ret instruction, which implements a return from a subroutine, there must be only one possible subroutine from which the instruction can be returning. Two different subroutines cannot "merge" their execution to a single ret instruction.
================================
Alternative opinion:
internal subroutine (target is 16, respective 'ret' is at 16)
is not a correct one. It just has jsr but there is no ret for this jsr in the test.
I.e. there is no internal subroutine actually just a jump implemented as jrs instruction.
>From this poin the test can pass Verifier.
I suspect the second case works right now.
(JsrNoRet test passes on Interpreter and RI)
> [drlvm][jit][jet] fails to compile interlaced subroutines
> ---------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Attachments: JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3098) [drlvm][jit] Jitrino fails to
compile interlaced subroutines
Posted by "George Timoshenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Timoshenko updated HARMONY-3098:
---------------------------------------
Attachment: HARMONY-3098-regression-test.patch
regression test
> [drlvm][jit] Jitrino fails to compile interlaced subroutines
> ------------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Assignee: Mikhail Fursov
> Attachments: combined.diff, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-OPT.patch, HARMONY-3098-regression-test.patch, JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-3098) [drlvm][jit] Jitrino fails to compile
interlaced subroutines
Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Varlamov closed HARMONY-3098.
------------------------------------
Added the reg-test at revision: 584121
> [drlvm][jit] Jitrino fails to compile interlaced subroutines
> ------------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Assignee: Mikhail Fursov
> Attachments: combined.diff, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-OPT.patch, HARMONY-3098-regression-test.patch, JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3098) [jitrino][jet] fails to compile
interlaced subroutines
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Fedotov updated HARMONY-3098:
------------------------------------
Attachment: JsrNoRet.class
JsrNoRet2.j
> [jitrino][jet] fails to compile interlaced subroutines
> ------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Attachments: JsrNoRet.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-3098) [drlvm][jit] Jitrino fails to
compile interlaced subroutines
Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikhail Fursov resolved HARMONY-3098.
-------------------------------------
Resolution: Fixed
Closing this issue -> the complete patch for OPT and workaround for JET were committed.
Refactoring of JET code will be done as a part of HARMONY-4740
> [drlvm][jit] Jitrino fails to compile interlaced subroutines
> ------------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Assignee: Mikhail Fursov
> Attachments: combined.diff, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-OPT.patch, JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3098) [drlvm][jit] Jitrino fails to
compile interlaced subroutines
Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528757 ]
Mikhail Fursov commented on HARMONY-3098:
-----------------------------------------
Committed revision for combined.diff : 577298
> [drlvm][jit] Jitrino fails to compile interlaced subroutines
> ------------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Assignee: Mikhail Fursov
> Attachments: combined.diff, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-OPT.patch, JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3098) [drlvm][jit][jet] fails to compile
interlaced subroutines
Posted by "George Timoshenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Timoshenko updated HARMONY-3098:
---------------------------------------
Attachment: HARMONY-3098-JET-quickfix.patch
comments extended
> [drlvm][jit][jet] fails to compile interlaced subroutines
> ---------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Attachments: HARMONY-3098-JET-quickfix.patch, HARMONY-3098-JET-quickfix.patch, JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-3098) [drlvm][jit][jet] fails to compile
interlaced subroutines
Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikhail Fursov reassigned HARMONY-3098:
---------------------------------------
Assignee: Mikhail Fursov
> [drlvm][jit][jet] fails to compile interlaced subroutines
> ---------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Assignee: Mikhail Fursov
> Attachments: HARMONY-3098-JET-quickfix.patch, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-OPT.patch, JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3098) [drlvm][jit][jet] fails to compile
interlaced subroutines
Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikhail Fursov updated HARMONY-3098:
------------------------------------
Attachment: combined.diff
combined.diff - > combined OPT and JET patches. Removed duplicated functionality in Jitrino.OPT's translator
> [drlvm][jit][jet] fails to compile interlaced subroutines
> ---------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Assignee: Mikhail Fursov
> Attachments: combined.diff, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-JET-quickfix.patch, HARMONY-3098-OPT.patch, JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3098) [drlvm][jit][jet] fails to compile
interlaced subroutines
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky updated HARMONY-3098:
---------------------------------------
Summary: [drlvm][jit][jet] fails to compile interlaced subroutines (was: [jitrino][jet] fails to compile interlaced subroutines)
> [drlvm][jit][jet] fails to compile interlaced subroutines
> ---------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Attachments: JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3098) [jitrino][jet] fails to compile
interlaced subroutines
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Fedotov updated HARMONY-3098:
------------------------------------
Attachment: JsrNoRet2.class
JsrNoRet.j
> [jitrino][jet] fails to compile interlaced subroutines
> ------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Attachments: JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3098) [drlvm][jit][jet] fails to compile
interlaced subroutines
Posted by "George Timoshenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521366 ]
George Timoshenko commented on HARMONY-3098:
--------------------------------------------
OPT fails to run both tests.
we need two patches here.
> [drlvm][jit][jet] fails to compile interlaced subroutines
> ---------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Attachments: JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3098) [drlvm][jit][jet] fails to compile
interlaced subroutines
Posted by "George Timoshenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Timoshenko updated HARMONY-3098:
---------------------------------------
Attachment: HARMONY-3098-JET-quickfix.patch
This patch is not a complete solution. It is a kind of dirty workaround to get rid of the crash on JET.
The problem in general is moved to sub-task for JET.
> [drlvm][jit][jet] fails to compile interlaced subroutines
> ---------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Attachments: HARMONY-3098-JET-quickfix.patch, JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3098) [drlvm][jit][jet] fails to compile
interlaced subroutines
Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515218 ]
Alexey Varlamov commented on HARMONY-3098:
------------------------------------------
Reproduced JsrNoRet crash on recent build (r558944). The second test pass for me.
> [drlvm][jit][jet] fails to compile interlaced subroutines
> ---------------------------------------------------------
>
> Key: HARMONY-3098
> URL: https://issues.apache.org/jira/browse/HARMONY-3098
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows ia32
> Reporter: Alexei Fedotov
> Attachments: JsrNoRet.class, JsrNoRet.j, JsrNoRet2.class, JsrNoRet2.j
>
>
> JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).
> jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
> jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params={...}) Line 394 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}) Line 523 + 0x2c C++
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.