You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org> on 2006/10/27 12:05:16 UTC

[jira] Created: (HARMONY-1985) [drlvm][jvmti] VMObjectAlloc event support

[drlvm][jvmti] VMObjectAlloc event support
------------------------------------------

                 Key: HARMONY-1985
                 URL: http://issues.apache.org/jira/browse/HARMONY-1985
             Project: Harmony
          Issue Type: New Feature
          Components: DRLVM
            Reporter: Eugene S. Ostrovsky


Implementation of the new profiling support feature:
"VM Object Allocation" event.

The proposed patch does the following:
1. Creates a wrapper function for gc_alloc() which will send the events to jvmti agents right after calling gc_alloc().
2. Calls this wrapper in place of gc_aloc() in the following cases:
  (i)   allocation of j.l.Class objects in class loader
  (ii)  allocation of strings in VM
  (iii) allocation of the clone object in Object.clone () implementation

-- 
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-1985) [drlvm][jvmti] VMObjectAlloc event support

Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1985?page=all ]

Eugene S. Ostrovsky updated HARMONY-1985:
-----------------------------------------

    Attachment: H-1985-JVMTI-VMObjectAlloc-event-support.patch

> [drlvm][jvmti] VMObjectAlloc event support
> ------------------------------------------
>
>                 Key: HARMONY-1985
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1985
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Eugene S. Ostrovsky
>         Attachments: H-1985-JVMTI-VMObjectAlloc-event-support.patch
>
>
> Implementation of the new profiling support feature:
> "VM Object Allocation" event.
> The proposed patch does the following:
> 1. Creates a wrapper function for gc_alloc() which will send the events to jvmti agents right after calling gc_alloc().
> 2. Calls this wrapper in place of gc_aloc() in the following cases:
>   (i)   allocation of j.l.Class objects in class loader
>   (ii)  allocation of strings in VM
>   (iii) allocation of the clone object in Object.clone () implementation

-- 
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-1985) [drlvm][jvmti] VMObjectAlloc event support

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

Gregory Shimansky resolved HARMONY-1985.
----------------------------------------

    Resolution: Fixed

Patches applied at 470512. Please check that everything is ok.

> [drlvm][jvmti] VMObjectAlloc event support
> ------------------------------------------
>
>                 Key: HARMONY-1985
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1985
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Eugene S. Ostrovsky
>         Assigned To: Gregory Shimansky
>         Attachments: H-1985-JVMTI-VMObjectAlloc-event-support.patch, H-1985_Fix.patch
>
>
> Implementation of the new profiling support feature:
> "VM Object Allocation" event.
> The proposed patch does the following:
> 1. Creates a wrapper function for gc_alloc() which will send the events to jvmti agents right after calling gc_alloc().
> 2. Calls this wrapper in place of gc_aloc() in the following cases:
>   (i)   allocation of j.l.Class objects in class loader
>   (ii)  allocation of strings in VM
>   (iii) allocation of the clone object in Object.clone () implementation

-- 
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-1985) [drlvm][jvmti] VMObjectAlloc event support

Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1985?page=all ]

Eugene S. Ostrovsky updated HARMONY-1985:
-----------------------------------------

    Attachment: H-1985_Fix.patch

There's a bug with event_threads array allocation in jvmti_direct.h.
Array size is less than it should be.
Proposed patch fixes this issue.

> [drlvm][jvmti] VMObjectAlloc event support
> ------------------------------------------
>
>                 Key: HARMONY-1985
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1985
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Eugene S. Ostrovsky
>         Assigned To: Gregory Shimansky
>         Attachments: H-1985-JVMTI-VMObjectAlloc-event-support.patch, H-1985_Fix.patch
>
>
> Implementation of the new profiling support feature:
> "VM Object Allocation" event.
> The proposed patch does the following:
> 1. Creates a wrapper function for gc_alloc() which will send the events to jvmti agents right after calling gc_alloc().
> 2. Calls this wrapper in place of gc_aloc() in the following cases:
>   (i)   allocation of j.l.Class objects in class loader
>   (ii)  allocation of strings in VM
>   (iii) allocation of the clone object in Object.clone () implementation

-- 
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-1985) [drlvm][jvmti] VMObjectAlloc event support

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

Gregory Shimansky reassigned HARMONY-1985:
------------------------------------------

    Assignee: Gregory Shimansky

> [drlvm][jvmti] VMObjectAlloc event support
> ------------------------------------------
>
>                 Key: HARMONY-1985
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1985
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Eugene S. Ostrovsky
>         Assigned To: Gregory Shimansky
>         Attachments: H-1985-JVMTI-VMObjectAlloc-event-support.patch
>
>
> Implementation of the new profiling support feature:
> "VM Object Allocation" event.
> The proposed patch does the following:
> 1. Creates a wrapper function for gc_alloc() which will send the events to jvmti agents right after calling gc_alloc().
> 2. Calls this wrapper in place of gc_aloc() in the following cases:
>   (i)   allocation of j.l.Class objects in class loader
>   (ii)  allocation of strings in VM
>   (iii) allocation of the clone object in Object.clone () implementation

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