harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Rebriy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-5453) [drlvm][classloader] Create an execution mode to always resolve CP references
Date Tue, 12 Feb 2008 11:41:10 GMT

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

Pavel Rebriy updated HARMONY-5453:

    Attachment: class_initialize.patch

Initialization of class in AllocObject JNI function.

> [drlvm][classloader] Create an execution mode to always resolve CP references
> -----------------------------------------------------------------------------
>                 Key: HARMONY-5453
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5453
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>            Priority: Minor
>         Attachments: class_initialize.patch, HARMONY-5453.patch
> As was advised on the mail list by Mikhail Fursov http://harmony.markmail.org/message/3jw4h5u5fgqa3qcg
I tried to create a mode where resolution is done all the times regardless whether some reference
was resolved already or not. To make it work it is necessary to make some changes in the initialization
because otherwise some classes are not initialized when they are already used for invokevirtual
> The patch is not complete, it changes the code for class_is_cp_entry_resolved unconditionally,
while I think it should depend on some property. Also kernel test fails on serialization because
some Proxy class is not initialized. I think it happens because serialization code uses AllocObject
JNI call to create objects without calling their constructor. In this way class for this object
is not initialized.

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

View raw message