You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mikhail Fursov (JIRA)" <ji...@apache.org> on 2007/01/30 15:42:33 UTC

[jira] Created: (HARMONY-3087) [drlvm][ji] LdInterface, CheckCast and InstanceOf helpers inlining

[drlvm][ji] LdInterface, CheckCast and InstanceOf helpers inlining
------------------------------------------------------------------

                 Key: HARMONY-3087
                 URL: https://issues.apache.org/jira/browse/HARMONY-3087
             Project: Harmony
          Issue Type: New Feature
          Components: DRLVM
            Reporter: Mikhail Fursov
         Attachments: helpers_1.zip

This patch contains code with fast-path version of 3 VM helpers (LdInterface, instanceOf, checkcast) written in magics and inlining support for them in JIT
The patch also enables inlining of these helpers in server mode


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


[jira] Updated: (HARMONY-3087) [drlvm][ji] LdInterface, CheckCast and InstanceOf helpers inlining

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Fursov updated HARMONY-3087:
------------------------------------

    Attachment: helpers_2.zip

Alexey,
The problem was with std::sort.
I fixed it and updated the patch. Use helpers_2.zip.


> [drlvm][ji] LdInterface, CheckCast and InstanceOf helpers inlining
> ------------------------------------------------------------------
>
>                 Key: HARMONY-3087
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3087
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: helpers_1.zip, helpers_2.zip
>
>
> This patch contains code with fast-path version of 3 VM helpers (LdInterface, instanceOf, checkcast) written in magics and inlining support for them in JIT
> The patch also enables inlining of these helpers in server mode

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


[jira] Resolved: (HARMONY-3087) [drlvm][ji] LdInterface, CheckCast and InstanceOf helpers inlining

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov resolved HARMONY-3087.
--------------------------------------

    Resolution: Fixed

Applied at r502544, fixed a couple of warnings in org_apache_harmony_drlvm_VMHelperFastPath.cpp.

> [drlvm][ji] LdInterface, CheckCast and InstanceOf helpers inlining
> ------------------------------------------------------------------
>
>                 Key: HARMONY-3087
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3087
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: helpers_1.zip, helpers_2.zip
>
>
> This patch contains code with fast-path version of 3 VM helpers (LdInterface, instanceOf, checkcast) written in magics and inlining support for them in JIT
> The patch also enables inlining of these helpers in server mode

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


[jira] Commented: (HARMONY-3087) [drlvm][ji] LdInterface, CheckCast and InstanceOf helpers inlining

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469017 ] 

Alexey Varlamov commented on HARMONY-3087:
------------------------------------------

Mikhail, the patch segfaults on HUT, "prefs" module. The backtrace is very noisy, relevant part looks like this:

    [junit] 	221: null_java_reference_handler(int, siginfo*, void*) (??:-1)
    [junit] 	222: general_signal_handler(int, siginfo*, void*) (??:-1)
    [junit] addr2line: '[vdso]': No such file
    [junit] 	223: ?? (eneral_signal_handler(int, siginfo*, void*):-1)
    [junit] 	224: ?? (0014124b
    [junit] :14124)
    [junit] 	225: build_interface_table_descriptors(Class*, std::vector<Class*, std::allocator<Class*> >&, int) (Prepare.cpp:-1)
    [junit] 	226: Class::prepare(Global_Env*) (??:-1)
    [junit] 	227: ClassLoader::LoadVerifyAndPrepareClass(Global_Env*, String const*) (??:-1)
    [junit] 	228: Class::_resolve_class(Global_Env*, unsigned int) (??:-1)
    [junit] 	229: resolve_class (??:-1)
    [junit] 	230: .L158 (bcproc.cpp:-1)
    [junit] 	231: .L270 (bcproc.cpp:-1)
    [junit] 	232: Jitrino::Jet::Compiler::comp_gen_insts(unsigned int, unsigned int, unsigned int) (??:-1)
    [junit] 	233: Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int) (??:-1)
    [junit] 	234: Jitrino::Jet::Compiler::compile(void*, Method*, OpenMethodExecutionParams const&) (??:-1)
    [junit] 	235: Jitrino::Jet::compile_with_params(void*, void*, Method*, OpenMethodExecutionParams) (??:-1)
    [junit] 	236: JIT_compile_method_with_params (??:-1)
    [junit] 	237: Dll_JIT::compile_method_with_params(void*, Method*, OpenMethodExecutionParams) (??:-1)
    [junit] 	238: compile_do_compilation_jit(Method*, JIT*) (??:-1)


> [drlvm][ji] LdInterface, CheckCast and InstanceOf helpers inlining
> ------------------------------------------------------------------
>
>                 Key: HARMONY-3087
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3087
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: helpers_1.zip
>
>
> This patch contains code with fast-path version of 3 VM helpers (LdInterface, instanceOf, checkcast) written in magics and inlining support for them in JIT
> The patch also enables inlining of these helpers in server mode

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


[jira] Updated: (HARMONY-3087) [drlvm][ji] LdInterface, CheckCast and InstanceOf helpers inlining

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Fursov updated HARMONY-3087:
------------------------------------

    Attachment: helpers_1.zip

> [drlvm][ji] LdInterface, CheckCast and InstanceOf helpers inlining
> ------------------------------------------------------------------
>
>                 Key: HARMONY-3087
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3087
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Attachments: helpers_1.zip
>
>
> This patch contains code with fast-path version of 3 VM helpers (LdInterface, instanceOf, checkcast) written in magics and inlining support for them in JIT
> The patch also enables inlining of these helpers in server mode

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


[jira] Assigned: (HARMONY-3087) [drlvm][ji] LdInterface, CheckCast and InstanceOf helpers inlining

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov reassigned HARMONY-3087:
----------------------------------------

    Assignee: Alexey Varlamov

> [drlvm][ji] LdInterface, CheckCast and InstanceOf helpers inlining
> ------------------------------------------------------------------
>
>                 Key: HARMONY-3087
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3087
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: helpers_1.zip
>
>
> This patch contains code with fast-path version of 3 VM helpers (LdInterface, instanceOf, checkcast) written in magics and inlining support for them in JIT
> The patch also enables inlining of these helpers in server mode

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