I've created JIRA
*HARMONY-1985<http://issues.apache.org/jira/browse/HARMONY-1985>
*

Patch with implementation is provided.

On 10/25/06, Eugene Ostrovsky <[EMAIL PROTECTED]> wrote:

The design seems to be rather simple.
We need to emit the event on allocation of java objects that is performed
by VM itself.
The proposed solution is to
1. Create a wrapper function for gc_alloc() which will send the events to
jvmti agents right after calling gc_alloc().
2. Call 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


On 10/24/06, Eugene Ostrovsky <[EMAIL PROTECTED]> wrote:
>
> Hi all.
>
> It seems that we have most of JVMTI implemented in drlvm. Still some of
> profiling support features is left.
> I'm going to take a look on "VM Object Allocation" event.
> I'll try to come up with design tomorrow.
>
> Thanks,
> Eugene.
>
>

Reply via email to