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/05/11 09:57:15 UTC

[jira] Created: (HARMONY-3840) [drlvm][classloader] 'clss' field is never cached for TypeDesc struct

[drlvm][classloader]  'clss' field is never cached for TypeDesc struct
----------------------------------------------------------------------

                 Key: HARMONY-3840
                 URL: https://issues.apache.org/jira/browse/HARMONY-3840
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Mikhail Fursov
         Attachments: java_types.diff

While working on lazy resolution task I've found that 'clss' field is never cached for TypeDesc struct.
VM gurus, could you review the patch and comment it?


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


[jira] Updated: (HARMONY-3840) [drlvm][classloader] 'clss' field is never cached for TypeDesc struct

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

Mikhail Fursov updated HARMONY-3840:
------------------------------------

    Attachment: java_types2.diff

java_types2.diff - clss is also cached for arrays

> [drlvm][classloader]  'clss' field is never cached for TypeDesc struct
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-3840
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3840
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Attachments: java_types.diff, java_types2.diff
>
>
> While working on lazy resolution task I've found that 'clss' field is never cached for TypeDesc struct.
> VM gurus, could you review the patch and comment it?

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


[jira] Updated: (HARMONY-3840) [drlvm][classloader] 'clss' field is never cached for TypeDesc struct

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

Alexey Varlamov updated HARMONY-3840:
-------------------------------------

    Attachment: java_types3.diff

Nice catch :) 
It is also possible to preserve known class while creating TypeDesc in type_desc_create_from_java_class(), see attached java_types3.diff.

> [drlvm][classloader]  'clss' field is never cached for TypeDesc struct
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-3840
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3840
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: java_types.diff, java_types2.diff, java_types3.diff
>
>
> While working on lazy resolution task I've found that 'clss' field is never cached for TypeDesc struct.
> VM gurus, could you review the patch and comment it?

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


[jira] Assigned: (HARMONY-3840) [drlvm][classloader] 'clss' field is never cached for TypeDesc struct

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

Alexey Varlamov reassigned HARMONY-3840:
----------------------------------------

    Assignee: Alexey Varlamov

> [drlvm][classloader]  'clss' field is never cached for TypeDesc struct
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-3840
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3840
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: java_types.diff, java_types2.diff
>
>
> While working on lazy resolution task I've found that 'clss' field is never cached for TypeDesc struct.
> VM gurus, could you review the patch and comment it?

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


[jira] Updated: (HARMONY-3840) [drlvm][classloader] 'clss' field is never cached for TypeDesc struct

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

Mikhail Fursov updated HARMONY-3840:
------------------------------------

    Attachment: java_types.diff

> [drlvm][classloader]  'clss' field is never cached for TypeDesc struct
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-3840
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3840
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Attachments: java_types.diff
>
>
> While working on lazy resolution task I've found that 'clss' field is never cached for TypeDesc struct.
> VM gurus, could you review the patch and comment it?

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


[jira] Commented: (HARMONY-3840) [drlvm][classloader] 'clss' field is never cached for TypeDesc struct

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

Pavel Pervov commented on HARMONY-3840:
---------------------------------------

I've looked into the patch. It is also possible to cache Class into clss for K_Vector types.

> [drlvm][classloader]  'clss' field is never cached for TypeDesc struct
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-3840
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3840
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Attachments: java_types.diff
>
>
> While working on lazy resolution task I've found that 'clss' field is never cached for TypeDesc struct.
> VM gurus, could you review the patch and comment it?

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


[jira] Closed: (HARMONY-3840) [drlvm][classloader] 'clss' field is never cached for TypeDesc struct

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

Alexey Varlamov closed HARMONY-3840.
------------------------------------

    Resolution: Fixed

Applied at r538556.

> [drlvm][classloader]  'clss' field is never cached for TypeDesc struct
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-3840
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3840
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: java_types.diff, java_types2.diff, java_types3.diff
>
>
> While working on lazy resolution task I've found that 'clss' field is never cached for TypeDesc struct.
> VM gurus, could you review the patch and comment it?

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