You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrey Yakushev (JIRA)" <ji...@apache.org> on 2007/03/05 10:52:50 UTC

[jira] Created: (HARMONY-3292) [drlvm][lang-management] CompilationMXBean native methods implementation

[drlvm][lang-management] CompilationMXBean native methods implementation
------------------------------------------------------------------------

                 Key: HARMONY-3292
                 URL: https://issues.apache.org/jira/browse/HARMONY-3292
             Project: Harmony
          Issue Type: New Feature
          Components: DRLVM
            Reporter: Andrey Yakushev


CompilationMXBean stubs from HARMONY-1821 should be replaced with real implementation 

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


[jira] Commented: (HARMONY-3292) [drlvm][lang-management] CompilationMXBean native methods implementation

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

Andrey Yakushev commented on HARMONY-3292:
------------------------------------------

It seems like patch is applied successfully. 

> [drlvm][lang-management] CompilationMXBean native methods implementation
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-3292
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3292
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Andrey Yakushev
>         Assigned To: Gregory Shimansky
>         Attachments: vm_CompilationMXBean.patch, vm_CompilationMXBean.v2.patch
>
>
> CompilationMXBean stubs from HARMONY-1821 should be replaced with real implementation 

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


[jira] Assigned: (HARMONY-3292) [drlvm][lang-management] CompilationMXBean native methods implementation

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

Gregory Shimansky reassigned HARMONY-3292:
------------------------------------------

    Assignee: Gregory Shimansky

> [drlvm][lang-management] CompilationMXBean native methods implementation
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-3292
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3292
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Andrey Yakushev
>         Assigned To: Gregory Shimansky
>         Attachments: vm_CompilationMXBean.patch
>
>
> CompilationMXBean stubs from HARMONY-1821 should be replaced with real implementation 

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


[jira] Closed: (HARMONY-3292) [drlvm][lang-management] CompilationMXBean native methods implementation

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

Gregory Shimansky closed HARMONY-3292.
--------------------------------------


VERIFIED

> [drlvm][lang-management] CompilationMXBean native methods implementation
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-3292
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3292
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Andrey Yakushev
>         Assigned To: Gregory Shimansky
>         Attachments: vm_CompilationMXBean.patch, vm_CompilationMXBean.v2.patch
>
>
> CompilationMXBean stubs from HARMONY-1821 should be replaced with real implementation 

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


[jira] Updated: (HARMONY-3292) [drlvm][lang-management] CompilationMXBean native methods implementation

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

Andrey Yakushev updated HARMONY-3292:
-------------------------------------

    Attachment: vm_CompilationMXBean.patch

This patch replaces a set of native method stubs for CompilationMXBean in DRLVM with real implementation. 
After patch integration all Classlib lang-management tests related to this bean passed on Win2003 and Linux x86_64. 


> [drlvm][lang-management] CompilationMXBean native methods implementation
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-3292
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3292
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Andrey Yakushev
>         Attachments: vm_CompilationMXBean.patch
>
>
> CompilationMXBean stubs from HARMONY-1821 should be replaced with real implementation 

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


[jira] Updated: (HARMONY-3292) [drlvm][lang-management] CompilationMXBean native methods implementation

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

Andrey Yakushev updated HARMONY-3292:
-------------------------------------

    Attachment: vm_CompilationMXBean.v2.patch

Gregory,

Yes, you are right, if total compilation time exceeded 24.9 days, the result would be wrong. :)
Nevertheless, I've corrected the code, see new version attached.
Patch is checked at Win2003 and Linux x86_64. 

Thanks,
Andrey

> [drlvm][lang-management] CompilationMXBean native methods implementation
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-3292
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3292
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Andrey Yakushev
>         Assigned To: Gregory Shimansky
>         Attachments: vm_CompilationMXBean.patch, vm_CompilationMXBean.v2.patch
>
>
> CompilationMXBean stubs from HARMONY-1821 should be replaced with real implementation 

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


[jira] Commented: (HARMONY-3292) [drlvm][lang-management] CompilationMXBean native methods implementation

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

Gregory Shimansky commented on HARMONY-3292:
--------------------------------------------

The patch looks ok except for the uncertain number of bytes in "long" type on different platforms. I see that in interface the type is Java "long", that is "jlong" in native. I think it would be more correct to use jlong in VM native code as well.

> [drlvm][lang-management] CompilationMXBean native methods implementation
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-3292
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3292
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Andrey Yakushev
>         Assigned To: Gregory Shimansky
>         Attachments: vm_CompilationMXBean.patch
>
>
> CompilationMXBean stubs from HARMONY-1821 should be replaced with real implementation 

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


[jira] Updated: (HARMONY-3292) [drlvm][lang-management] CompilationMXBean native methods implementation

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

Andrey Yakushev updated HARMONY-3292:
-------------------------------------

    Patch Info: [Patch Available]

> [drlvm][lang-management] CompilationMXBean native methods implementation
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-3292
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3292
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Andrey Yakushev
>         Attachments: vm_CompilationMXBean.patch
>
>
> CompilationMXBean stubs from HARMONY-1821 should be replaced with real implementation 

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


[jira] Resolved: (HARMONY-3292) [drlvm][lang-management] CompilationMXBean native methods implementation

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

Gregory Shimansky resolved HARMONY-3292.
----------------------------------------

    Resolution: Fixed

Patch applied at 51486. Please check that it was applied as expected.

> [drlvm][lang-management] CompilationMXBean native methods implementation
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-3292
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3292
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Andrey Yakushev
>         Assigned To: Gregory Shimansky
>         Attachments: vm_CompilationMXBean.patch, vm_CompilationMXBean.v2.patch
>
>
> CompilationMXBean stubs from HARMONY-1821 should be replaced with real implementation 

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