You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Salikh Zakirov (JIRA)" <ji...@apache.org> on 2006/10/20 17:22:35 UTC

[jira] Created: (HARMONY-1934) [drlvm][jvmti] Always create exception object if TI is enabled

[drlvm][jvmti] Always create exception object if TI is enabled
--------------------------------------------------------------

                 Key: HARMONY-1934
                 URL: http://issues.apache.org/jira/browse/HARMONY-1934
             Project: Harmony
          Issue Type: Bug
            Reporter: Salikh Zakirov
            Priority: Minor
         Attachments: harmony-1934-disable-lazy-exception-for-ti.patch

When the exception object is not referenced by the exception handler,
DRLVM does not creates exception object (so called "lazy exception object creation").

However, the exception object is passed as a parameter to the JVMTI Exception callback,
and the agent may perform arbitrary actions on it. This leads to assertion failures when
exception object was not created.

-- 
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-1934) [drlvm][jvmti] Always create exception object if TI is enabled

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

Salikh Zakirov updated HARMONY-1934:
------------------------------------

    Patch Info: [Patch Available]

> [drlvm][jvmti] Always create exception object if TI is enabled
> --------------------------------------------------------------
>
>                 Key: HARMONY-1934
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1934
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Salikh Zakirov
>            Priority: Minor
>         Attachments: harmony-1934-disable-lazy-exception-for-ti.patch
>
>
> When the exception object is not referenced by the exception handler,
> DRLVM does not creates exception object (so called "lazy exception object creation").
> However, the exception object is passed as a parameter to the JVMTI Exception callback,
> and the agent may perform arbitrary actions on it. This leads to assertion failures when
> exception object was not created.

-- 
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-1934) [drlvm][jvmti] Always create exception object if TI is enabled

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

Salikh Zakirov updated HARMONY-1934:
------------------------------------

    Attachment: harmony-1934-disable-lazy-exception-for-ti.patch

harmony-1934-disable-lazy-exception-for-ti.patch fixes the issue by checking global TI enabled status.

> [drlvm][jvmti] Always create exception object if TI is enabled
> --------------------------------------------------------------
>
>                 Key: HARMONY-1934
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1934
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Salikh Zakirov
>            Priority: Minor
>         Attachments: harmony-1934-disable-lazy-exception-for-ti.patch
>
>
> When the exception object is not referenced by the exception handler,
> DRLVM does not creates exception object (so called "lazy exception object creation").
> However, the exception object is passed as a parameter to the JVMTI Exception callback,
> and the agent may perform arbitrary actions on it. This leads to assertion failures when
> exception object was not created.

-- 
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-1934) [drlvm][jvmti] Always create exception object if TI is enabled

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1934?page=all ]

Geir Magnusson Jr resolved HARMONY-1934.
----------------------------------------

    Resolution: Fixed

r470948.

Unbuntu 6 - smoke, c-unit, ~kernel

> [drlvm][jvmti] Always create exception object if TI is enabled
> --------------------------------------------------------------
>
>                 Key: HARMONY-1934
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1934
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Salikh Zakirov
>         Assigned To: Geir Magnusson Jr
>            Priority: Minor
>         Attachments: harmony-1934-disable-lazy-exception-for-ti.patch
>
>
> When the exception object is not referenced by the exception handler,
> DRLVM does not creates exception object (so called "lazy exception object creation").
> However, the exception object is passed as a parameter to the JVMTI Exception callback,
> and the agent may perform arbitrary actions on it. This leads to assertion failures when
> exception object was not created.

-- 
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-1934) [drlvm][jvmti] Always create exception object if TI is enabled

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1934?page=all ]

Geir Magnusson Jr reassigned HARMONY-1934:
------------------------------------------

    Assignee: Geir Magnusson Jr

> [drlvm][jvmti] Always create exception object if TI is enabled
> --------------------------------------------------------------
>
>                 Key: HARMONY-1934
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1934
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Salikh Zakirov
>         Assigned To: Geir Magnusson Jr
>            Priority: Minor
>         Attachments: harmony-1934-disable-lazy-exception-for-ti.patch
>
>
> When the exception object is not referenced by the exception handler,
> DRLVM does not creates exception object (so called "lazy exception object creation").
> However, the exception object is passed as a parameter to the JVMTI Exception callback,
> and the agent may perform arbitrary actions on it. This leads to assertion failures when
> exception object was not created.

-- 
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-1934) [drlvm][jvmti] Always create exception object if TI is enabled

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1934?page=all ]

Geir Magnusson Jr updated HARMONY-1934:
---------------------------------------

    Component/s: DRLVM

> [drlvm][jvmti] Always create exception object if TI is enabled
> --------------------------------------------------------------
>
>                 Key: HARMONY-1934
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1934
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Salikh Zakirov
>         Assigned To: Geir Magnusson Jr
>            Priority: Minor
>         Attachments: harmony-1934-disable-lazy-exception-for-ti.patch
>
>
> When the exception object is not referenced by the exception handler,
> DRLVM does not creates exception object (so called "lazy exception object creation").
> However, the exception object is passed as a parameter to the JVMTI Exception callback,
> and the agent may perform arbitrary actions on it. This leads to assertion failures when
> exception object was not created.

-- 
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-1934) [drlvm][jvmti] Always create exception object if TI is enabled

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1934?page=all ]

Geir Magnusson Jr closed HARMONY-1934.
--------------------------------------


> [drlvm][jvmti] Always create exception object if TI is enabled
> --------------------------------------------------------------
>
>                 Key: HARMONY-1934
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1934
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Salikh Zakirov
>         Assigned To: Geir Magnusson Jr
>            Priority: Minor
>         Attachments: harmony-1934-disable-lazy-exception-for-ti.patch
>
>
> When the exception object is not referenced by the exception handler,
> DRLVM does not creates exception object (so called "lazy exception object creation").
> However, the exception object is passed as a parameter to the JVMTI Exception callback,
> and the agent may perform arbitrary actions on it. This leads to assertion failures when
> exception object was not created.

-- 
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