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/12/04 16:24:24 UTC

[jira] Commented: (HARMONY-2145) [drlvm][jvmti] Compiled Method Load event - inlined method support

    [ http://issues.apache.org/jira/browse/HARMONY-2145?page=comments#action_12455326 ] 
            
Eugene S. Ostrovsky commented on HARMONY-2145:
----------------------------------------------

I've got the point.

But "sum of method's instruction sizes" is a kind of information useless for VM.
VM needs to know what code. addresses are occupied by the method. E.g. all addresses from codetAddr to codetAddr + codeSizze -1. It is ok for VM if further inlined methods' code is also inside this region.

Is it possible for JIT to report codeSize in this sense?

> [drlvm][jvmti] Compiled Method Load event - inlined method support
> ------------------------------------------------------------------
>
>                 Key: HARMONY-2145
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2145
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Eugene S. Ostrovsky
>         Assigned To: Gregory Shimansky
>         Attachments: CompiledMethodLoadEvent_size_fixed.diff, exe_notify_compile_method_load_added.diff, H-2145-Check-inline-regions-consistency.patch, H-2145-JIT-side.patch, H-2145-sendCompiledMethodLoadEvent-tracing.patch, H-2145-VM-Callback-interface.patch, H-2145-VM-support-for-compiled-method-load-events-for-inlined-methods.patch, H-2145_sizes.log, inline_test.zip
>
>
> Current VM doesn't report Compiled Method Load event for methods that are inlined by JIT. 
> Though spec requires it to be sent for every compiled method:
> http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/jvmti.html#CompiledMethodLoad
> We need to add some function to interface between VM and JIT in order to let VM know about inlined methods.

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