You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Xiao-Feng Li (JIRA)" <ji...@apache.org> on 2007/04/18 09:46:16 UTC

[jira] Closed: (HARMONY-3626) [drlvm][jit][opt][em64t] Managed<->Unmanaged data conversion check fails on double->int convertion helper

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

Xiao-Feng Li closed HARMONY-3626.
---------------------------------

    Resolution: Fixed

tested on Windows 32/64 bit platforms and committed.

> [drlvm][jit][opt][em64t] Managed<->Unmanaged data conversion check fails on double->int convertion helper
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3626
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3626
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Xiao-Feng Li
>         Attachments: complete_diff_1.patch, vm_jit_interface.patch, vm_jit_interface2.patch
>
>
> GCMap in Jitirno.OPT uses special algorithm to check that managed object does not cross suspension point (call site) as unmanaged opnd.
> Algorithm description: if some value is represented as unmanaged pointer and crosses suspension point  it must never be assigned to/from managed pointer.
> The problem:
> Jitrino.OPT doesn't know if  vm-helper is a suspension point or not. HLO optimizations can move some ops that are treated as vm-helper-calls in CG and put vm-helper call into managed<->unmanaged conversion sensitive area (example: allocation helper which is inlined in server mode).
> Actually these helper calls are not suspension points and HLO does nothing wrong, but CG does not know which vm-helper is suspension point and which is not.
> Today I've got 'jess' benchmark crashed in server mode because of d2i conversion helper moved by 'gcm' into the middle of the inlined object allocation helper.
> Proposal: add JIT<->VM interface to request if vmhelper is gcpoint or not.

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