[ https://issues.apache.org/jira/browse/HARMONY-3382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501194
]
Alexey Varlamov commented on HARMONY-3382:
------------------------------------------
Nina, the idea of regtest is to extract minimal and stable reproducer, which is possible using
Jasmin assembler in this particular case. Igor made a step in right direction but actually
his code fails verification and successfully passes compilation if verifier is on. So the
test should be improved.
I've applied the fix at revision: 544139, to not hold EUT progress. Keeping this issue open
since regtest is pending.
> [drlvm][jit][jet][EUT] 1 test from org.eclipse.jdt.core.tests.compiler.parser.TestAll
suit fails fails due to assert in JET
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-3382
> URL: https://issues.apache.org/jira/browse/HARMONY-3382
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: test case (X.java) is to be compiled with Eclipse compiler
> Reporter: Aleksey Ignatenko
> Assignee: Alexey Varlamov
> Attachments: H3382.patch.txt, H3382.regtest.patch.txt, H3382.regtest.patch.txt,
H3382.regtest.patch.txt, X.java
>
>
> org.eclipse.jdt.core.tests.compiler.regression.test044 fails due to assertion in JET
code.
> Stack trace:
> > jitrino.dll!_assert(const char * expr=0x01b64e38, const char * filename=0x01b64d68,
unsigned int lineno=102) Line 295 C
> jitrino.dll!Jitrino::Jet::SmartPtr<Jitrino::Jet::JInst>::operator[](unsigned
int idx=25) Line 102 + 0x1c C++
> jitrino.dll!Jitrino::Jet::Compiler::gen_bb_leave(unsigned int to=25) Line 614 + 0x1a
C++
> jitrino.dll!Jitrino::Jet::Compiler::handle_inst() Line 100 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=14, unsigned int
parentPC=14, unsigned int jsr_lead=4294967295) Line 1018 C++
> jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=14) Line 818
+ 0x14 C++
> jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0375f154, Method * method=0x0314b7d0,
const OpenMethodExecutionParams & params={...}) Line 395 C++
> jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x01267810, void *
ch=0x0375f154, Method * method=0x0314b7d0, OpenMethodExecutionParams params={...}) Line 523
+ 0x17 C++
> jitrino.dll!JIT_compile_method_with_params(void * jit=0x01267810, void * compilation=0x0375f154,
Method * method_handle=0x0314b7d0, OpenMethodExecutionParams compilation_params={...}) Line
274 + 0x15 C++
> harmonyvm.dll!Dll_JIT::compile_method_with_params(void * compilation=0x0375f154, Method
* method=0x0314b7d0, OpenMethodExecutionParams flags={...}) Line 86 + 0x18 C++
> harmonyvm.dll!compile_do_compilation_jit(Method * method=0x0314b7d0, JIT * jit=0x01267810)
Line 652 + 0x19 C++
> harmonyvm.dll!vm_compile_method(void * jit=0x01267810, Method * method=0x0314b7d0)
Line 2472 + 0xd C++
> em.dll!DrlEMImpl::compileMethod(Method * mh=0x0314b7d0) Line 570 + 0x13 C++
> em.dll!CompileMethod(Method * method_handle=0x0314b7d0) Line 49 + 0x19 C++
> harmonyvm.dll!compile_do_compilation(Method * method=0x0314b7d0) Line 765 + 0x15 C++
> harmonyvm.dll!compile_me(Method * method=0x0314b7d0) Line 785 + 0x9 C++
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|