You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Egor Pasko (JIRA)" <ji...@apache.org> on 2008/01/14 22:24:34 UTC

[jira] Commented: (HARMONY-4901) [drlvm][jit] escape analysis fails with logging

    [ https://issues.apache.org/jira/browse/HARMONY-4901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558795#action_12558795 ] 

Egor Pasko commented on HARMONY-4901:
-------------------------------------

Pavel, your patch did not fix SIGSEGV on Linux/ia32:

  0: Jitrino::MethodInst::getMethodDesc() (Inst.h:851)
  1: Jitrino::EscAnalyzer::getMD(Jitrino::Inst*) (escanalyzer.cpp:5486)
  2: Jitrino::EscAnalyzer::checkOpndUsage(unsigned int) (escanalyzer.cpp:4783)
  3: Jitrino::EscAnalyzer::checkCnGtoScalarize(Jitrino::EscAnalyzer::CnGNode*, bool) (escanalyzer.cpp:4851)
  4: Jitrino::EscAnalyzer::scanEscapedObjects() (escanalyzer.cpp:3874)
  5: Jitrino::EscAnalyzer::doAnalysis() (escanalyzer.cpp:276)
  6: Jitrino::EscapeAnalysisPass::_run(Jitrino::IRManager&) (escanalyzer.cpp:89)
  7: Jitrino::OptPass::run() (optpass.cpp:64)
  8: Jitrino::runPipeline(Jitrino::CompilationContext*) (Jitrino.cpp:225)
  9: Jitrino::compileMethod(Jitrino::CompilationContext*) (Jitrino.cpp:243)
 10: Jitrino::Jitrino::CompileMethod(Jitrino::CompilationContext*) (Jitrino.cpp:258)

ran with java -Xem:opt -XX:jit.arg.log=ct,irdump,dbg,escape_verbose Hello

> [drlvm][jit] escape analysis fails with logging
> -----------------------------------------------
>
>                 Key: HARMONY-4901
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4901
>             Project: Harmony
>          Issue Type: Bug
>          Components: VM
>         Environment: all
>            Reporter: Aleksey Shipilev
>            Assignee: Egor Pasko
>            Priority: Minor
>         Attachments: escape.patch, HARMONY-4901-workaround-2.patch, HARMONY-4901-workaround.patch
>
>
> There're couple of NULL pointer dereferences in escape analysis code while logging is enabled.
> The main reason is unknown, I believe that my patch is just the workaround.
> I have added this line to server.emconf to enable logging:
> -XDjit.SD2_OPT.arg.log=ct,irdump,dbg,escape_verbose

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