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 Chernyshev (JIRA)" <ji...@apache.org> on 2006/07/12 21:51:29 UTC

[jira] Created: (HARMONY-857) Quick impl for invocation API - make drlvm work with classlib launcher

Quick impl for invocation API - make drlvm work with classlib launcher
----------------------------------------------------------------------

         Key: HARMONY-857
         URL: http://issues.apache.org/jira/browse/HARMONY-857
     Project: Harmony
        Type: Improvement

  Components: VM  
    Reporter: Andrey Chernyshev


Here will be the patch that makes drlvm working under classlib's launcher. 
A brief description of what was done:
(1)	I have added JNI_CreateJavaVM declaration to jni.h (guess it will be the most appropriate place for it);
(2)	Added a simple implementations for JNI_CreateJavaVM and DestroyJavaVM based on the existing create_vm and detroy_vm functions in the vmcore/init submodule.
(3)	To make vmcore/init functions visible for vmcore/jni code, I have moved vmcore/init/init.h to vmcore/include;
(4)	In parse_arguments.cpp, I had to silently ignore the option "_org.apache.harmony.vmi.portlib" which is passed by the launcher to VM for some reason, causing the DRLVM to complain about "unknown option".  

Please do not apply unless it is discussed on the mailing list, there likely to be other versions of this.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (HARMONY-857) Quick impl for invocation API - make drlvm work with classlib launcher

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-857?page=all ]

Mark Hindess closed HARMONY-857.
--------------------------------


Thanks Andrey.  Closing as requested.


> Quick impl for invocation API - make drlvm work with classlib launcher
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-857
>                 URL: http://issues.apache.org/jira/browse/HARMONY-857
>             Project: Harmony
>          Issue Type: Improvement
>          Components: VM
>            Reporter: Andrey Chernyshev
>         Assigned To: Mark Hindess
>         Attachments: launcher-patch.patch
>
>
> Here will be the patch that makes drlvm working under classlib's launcher. 
> A brief description of what was done:
> (1)	I have added JNI_CreateJavaVM declaration to jni.h (guess it will be the most appropriate place for it);
> (2)	Added a simple implementations for JNI_CreateJavaVM and DestroyJavaVM based on the existing create_vm and detroy_vm functions in the vmcore/init submodule.
> (3)	To make vmcore/init functions visible for vmcore/jni code, I have moved vmcore/init/init.h to vmcore/include;
> (4)	In parse_arguments.cpp, I had to silently ignore the option "_org.apache.harmony.vmi.portlib" which is passed by the launcher to VM for some reason, causing the DRLVM to complain about "unknown option".  
> Please do not apply unless it is discussed on the mailing list, there likely to be other versions of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-857) Quick impl for invocation API - make drlvm work with classlib launcher

Posted by "Andrey Chernyshev (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-857?page=all ]

Andrey Chernyshev updated HARMONY-857:
--------------------------------------

    Attachment: launcher-patch.patch

Experimental patch, v.1.0

> Quick impl for invocation API - make drlvm work with classlib launcher
> ----------------------------------------------------------------------
>
>          Key: HARMONY-857
>          URL: http://issues.apache.org/jira/browse/HARMONY-857
>      Project: Harmony
>         Type: Improvement

>   Components: VM
>     Reporter: Andrey Chernyshev
>  Attachments: launcher-patch.patch
>
> Here will be the patch that makes drlvm working under classlib's launcher. 
> A brief description of what was done:
> (1)	I have added JNI_CreateJavaVM declaration to jni.h (guess it will be the most appropriate place for it);
> (2)	Added a simple implementations for JNI_CreateJavaVM and DestroyJavaVM based on the existing create_vm and detroy_vm functions in the vmcore/init submodule.
> (3)	To make vmcore/init functions visible for vmcore/jni code, I have moved vmcore/init/init.h to vmcore/include;
> (4)	In parse_arguments.cpp, I had to silently ignore the option "_org.apache.harmony.vmi.portlib" which is passed by the launcher to VM for some reason, causing the DRLVM to complain about "unknown option".  
> Please do not apply unless it is discussed on the mailing list, there likely to be other versions of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (HARMONY-857) Quick impl for invocation API - make drlvm work with classlib launcher

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-857?page=all ]
     
Mark Hindess resolved HARMONY-857:
----------------------------------

    Resolution: Fixed

Thanks Andrey!

Applied in r421406.  Please check it is as expected.

i'd didn't work for me (missing apr symbol in libhythr.so) but it doesn't break anytthing.  I'll take a better look in the morning.

(BTW, it's helpful to keep svn history complete to supply scripts with svn move recipes and subsequent patches.  I applied it this way and so please double check the init.h changes are correct.)

> Quick impl for invocation API - make drlvm work with classlib launcher
> ----------------------------------------------------------------------
>
>          Key: HARMONY-857
>          URL: http://issues.apache.org/jira/browse/HARMONY-857
>      Project: Harmony
>         Type: Improvement

>   Components: VM
>     Reporter: Andrey Chernyshev
>     Assignee: Mark Hindess
>  Attachments: launcher-patch.patch
>
> Here will be the patch that makes drlvm working under classlib's launcher. 
> A brief description of what was done:
> (1)	I have added JNI_CreateJavaVM declaration to jni.h (guess it will be the most appropriate place for it);
> (2)	Added a simple implementations for JNI_CreateJavaVM and DestroyJavaVM based on the existing create_vm and detroy_vm functions in the vmcore/init submodule.
> (3)	To make vmcore/init functions visible for vmcore/jni code, I have moved vmcore/init/init.h to vmcore/include;
> (4)	In parse_arguments.cpp, I had to silently ignore the option "_org.apache.harmony.vmi.portlib" which is passed by the launcher to VM for some reason, causing the DRLVM to complain about "unknown option".  
> Please do not apply unless it is discussed on the mailing list, there likely to be other versions of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (HARMONY-857) Quick impl for invocation API - make drlvm work with classlib launcher

Posted by "Andrey Chernyshev (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-857?page=comments#action_12421079 ] 
            
Andrey Chernyshev commented on HARMONY-857:
-------------------------------------------

Thanks Mark! I'm looking into the libhythr.so issue.

> Quick impl for invocation API - make drlvm work with classlib launcher
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-857
>                 URL: http://issues.apache.org/jira/browse/HARMONY-857
>             Project: Harmony
>          Issue Type: Improvement
>          Components: VM
>            Reporter: Andrey Chernyshev
>         Assigned To: Mark Hindess
>         Attachments: launcher-patch.patch
>
>
> Here will be the patch that makes drlvm working under classlib's launcher. 
> A brief description of what was done:
> (1)	I have added JNI_CreateJavaVM declaration to jni.h (guess it will be the most appropriate place for it);
> (2)	Added a simple implementations for JNI_CreateJavaVM and DestroyJavaVM based on the existing create_vm and detroy_vm functions in the vmcore/init submodule.
> (3)	To make vmcore/init functions visible for vmcore/jni code, I have moved vmcore/init/init.h to vmcore/include;
> (4)	In parse_arguments.cpp, I had to silently ignore the option "_org.apache.harmony.vmi.portlib" which is passed by the launcher to VM for some reason, causing the DRLVM to complain about "unknown option".  
> Please do not apply unless it is discussed on the mailing list, there likely to be other versions of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (HARMONY-857) Quick impl for invocation API - make drlvm work with classlib launcher

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-857?page=all ]

Mark Hindess reassigned HARMONY-857:
------------------------------------

    Assign To: Mark Hindess

> Quick impl for invocation API - make drlvm work with classlib launcher
> ----------------------------------------------------------------------
>
>          Key: HARMONY-857
>          URL: http://issues.apache.org/jira/browse/HARMONY-857
>      Project: Harmony
>         Type: Improvement

>   Components: VM
>     Reporter: Andrey Chernyshev
>     Assignee: Mark Hindess
>  Attachments: launcher-patch.patch
>
> Here will be the patch that makes drlvm working under classlib's launcher. 
> A brief description of what was done:
> (1)	I have added JNI_CreateJavaVM declaration to jni.h (guess it will be the most appropriate place for it);
> (2)	Added a simple implementations for JNI_CreateJavaVM and DestroyJavaVM based on the existing create_vm and detroy_vm functions in the vmcore/init submodule.
> (3)	To make vmcore/init functions visible for vmcore/jni code, I have moved vmcore/init/init.h to vmcore/include;
> (4)	In parse_arguments.cpp, I had to silently ignore the option "_org.apache.harmony.vmi.portlib" which is passed by the launcher to VM for some reason, causing the DRLVM to complain about "unknown option".  
> Please do not apply unless it is discussed on the mailing list, there likely to be other versions of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (HARMONY-857) Quick impl for invocation API - make drlvm work with classlib launcher

Posted by "Andrey Chernyshev (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-857?page=comments#action_12422210 ] 
            
Andrey Chernyshev commented on HARMONY-857:
-------------------------------------------

I think this one can be closed, I'm going to add Linux patch for hythr in a separate issue.

> Quick impl for invocation API - make drlvm work with classlib launcher
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-857
>                 URL: http://issues.apache.org/jira/browse/HARMONY-857
>             Project: Harmony
>          Issue Type: Improvement
>          Components: VM
>            Reporter: Andrey Chernyshev
>         Assigned To: Mark Hindess
>         Attachments: launcher-patch.patch
>
>
> Here will be the patch that makes drlvm working under classlib's launcher. 
> A brief description of what was done:
> (1)	I have added JNI_CreateJavaVM declaration to jni.h (guess it will be the most appropriate place for it);
> (2)	Added a simple implementations for JNI_CreateJavaVM and DestroyJavaVM based on the existing create_vm and detroy_vm functions in the vmcore/init submodule.
> (3)	To make vmcore/init functions visible for vmcore/jni code, I have moved vmcore/init/init.h to vmcore/include;
> (4)	In parse_arguments.cpp, I had to silently ignore the option "_org.apache.harmony.vmi.portlib" which is passed by the launcher to VM for some reason, causing the DRLVM to complain about "unknown option".  
> Please do not apply unless it is discussed on the mailing list, there likely to be other versions of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira