You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ivan Popov (JIRA)" <ji...@apache.org> on 2007/04/03 15:04:32 UTC

[jira] Created: (HARMONY-3560) [jdktools][jpda] support 64-bit Windows platform

[jdktools][jpda] support 64-bit Windows platform
------------------------------------------------

                 Key: HARMONY-3560
                 URL: https://issues.apache.org/jira/browse/HARMONY-3560
             Project: Harmony
          Issue Type: Bug
          Components: JDK
         Environment: Windows/x86_64, Harmony-jdk-r525047
            Reporter: Ivan Popov


Current implementation of JDWP agent does not work on 64-bit Windows platform. 
The only place for platform dependent code is loading transport library and accessing exported functions.
The problem is that exported functions are mangled differently on 32-bit and 64-bit Windows platforms.


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


[jira] Closed: (HARMONY-3560) [jdktools][jpda] support 64-bit Windows platform

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

Ivan Popov closed HARMONY-3560.
-------------------------------


Thanks, Gregory. It appeared working well in harmony-jdk-r528350. Closing this issue.

> [jdktools][jpda] support 64-bit Windows platform
> ------------------------------------------------
>
>                 Key: HARMONY-3560
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3560
>             Project: Harmony
>          Issue Type: Bug
>          Components: JDK
>         Environment: Windows/x86_64, Harmony-jdk-r525047
>            Reporter: Ivan Popov
>         Assigned To: Gregory Shimansky
>         Attachments: jpda_enable_win64.patch
>
>
> Current implementation of JDWP agent does not work on 64-bit Windows platform. 
> The only place for platform dependent code is loading transport library and accessing exported functions.
> The problem is that exported functions are mangled differently on 32-bit and 64-bit Windows platforms.

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


[jira] Assigned: (HARMONY-3560) [jdktools][jpda] support 64-bit Windows platform

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

Gregory Shimansky reassigned HARMONY-3560:
------------------------------------------

    Assignee: Gregory Shimansky

> [jdktools][jpda] support 64-bit Windows platform
> ------------------------------------------------
>
>                 Key: HARMONY-3560
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3560
>             Project: Harmony
>          Issue Type: Bug
>          Components: JDK
>         Environment: Windows/x86_64, Harmony-jdk-r525047
>            Reporter: Ivan Popov
>         Assigned To: Gregory Shimansky
>         Attachments: jpda_enable_win64.patch
>
>
> Current implementation of JDWP agent does not work on 64-bit Windows platform. 
> The only place for platform dependent code is loading transport library and accessing exported functions.
> The problem is that exported functions are mangled differently on 32-bit and 64-bit Windows platforms.

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


[jira] Resolved: (HARMONY-3560) [jdktools][jpda] support 64-bit Windows platform

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

Gregory Shimansky resolved HARMONY-3560.
----------------------------------------

    Resolution: Fixed

Patch was applied at 527884. Please check that JDWP agent works on windows 64 now.

> [jdktools][jpda] support 64-bit Windows platform
> ------------------------------------------------
>
>                 Key: HARMONY-3560
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3560
>             Project: Harmony
>          Issue Type: Bug
>          Components: JDK
>         Environment: Windows/x86_64, Harmony-jdk-r525047
>            Reporter: Ivan Popov
>         Assigned To: Gregory Shimansky
>         Attachments: jpda_enable_win64.patch
>
>
> Current implementation of JDWP agent does not work on 64-bit Windows platform. 
> The only place for platform dependent code is loading transport library and accessing exported functions.
> The problem is that exported functions are mangled differently on 32-bit and 64-bit Windows platforms.

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


[jira] Updated: (HARMONY-3560) [jdktools][jpda] support 64-bit Windows platform

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

Ivan Popov updated HARMONY-3560:
--------------------------------

    Patch Info: [Patch Available]

> [jdktools][jpda] support 64-bit Windows platform
> ------------------------------------------------
>
>                 Key: HARMONY-3560
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3560
>             Project: Harmony
>          Issue Type: Bug
>          Components: JDK
>         Environment: Windows/x86_64, Harmony-jdk-r525047
>            Reporter: Ivan Popov
>         Attachments: jpda_enable_win64.patch
>
>
> Current implementation of JDWP agent does not work on 64-bit Windows platform. 
> The only place for platform dependent code is loading transport library and accessing exported functions.
> The problem is that exported functions are mangled differently on 32-bit and 64-bit Windows platforms.

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


[jira] Updated: (HARMONY-3560) [jdktools][jpda] support 64-bit Windows platform

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

Ivan Popov updated HARMONY-3560:
--------------------------------

    Attachment: jpda_enable_win64.patch

Attached patch "jpda_enable_win64.patch" updates JDWP agent code to use different names of exported functions depending on macros _WIN64.

I tested this patch on both Windows/x86 and Windows/x86_64 platforms and JDWP successfully started and mostly passed. But DRLVM  works not stable on Windows/x86_64 platform and some tests may fail.


> [jdktools][jpda] support 64-bit Windows platform
> ------------------------------------------------
>
>                 Key: HARMONY-3560
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3560
>             Project: Harmony
>          Issue Type: Bug
>          Components: JDK
>         Environment: Windows/x86_64, Harmony-jdk-r525047
>            Reporter: Ivan Popov
>         Attachments: jpda_enable_win64.patch
>
>
> Current implementation of JDWP agent does not work on 64-bit Windows platform. 
> The only place for platform dependent code is loading transport library and accessing exported functions.
> The problem is that exported functions are mangled differently on 32-bit and 64-bit Windows platforms.

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