harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Timoshenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2145) [drlvm][jvmti] Compiled Method Load event - inlined method support
Date Fri, 29 Dec 2006 06:26:24 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2145?page=all ]

George Timoshenko updated HARMONY-2145:

    Attachment: H-2145-JIT-side-version-2.patch

Here is the second version of JIT-side changes

Spposed to be applied firstly.
VM_side patch needs to be renewed:
    H-2145-VM-support-for-compiled-method-load-events-for-inlined-methods.patch (24 kb)
(There is a problem with compile.cpp file)

Features of the version 2:

1. Inlinees are reported according to their inline depth starting from '1'. (see comment by
Ivan Popov in the mail-list thread)
    inlineDepth == 1 - means that an inlinee is inlined by the most outer method (which is
being compiled in the current compilation session.)
    'outer' argument has respective value.

2. If inlinee layout has several unsuccessive regions this inlinee is reported several times
with respective 'startAddr' and 'size' arguments.

3. If Inlinee A inlines a 2 level inlinee, say, B. Locations of B are also reported as A locations.
    So some instructions appeares in several LocationMaps. The difference is:
    in the map, reported with B (first-hand owner) this locations have valid bcOffsets (if
they are available)
    in the maps of later-hand owners (A in our case) bcOffsets of such locations are always

4. LocationMap contains _all_ instructions of a method. It should be optimized:


addr1 - bcOffset_X
addr2 - bcOffset_X
addr3 - bcOffset_X
addr4 - bcOffset_Y

Should be:
addr1 - bcOffset_X
addr4 - bcOffset_Y

which means that all instructions in [addr1;add4) interval have bcOffset == bcOffset_X

> [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-version-2.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_CML.zip, H-2145_sizes.log, inline_test.zip
> Current VM doesn't report Compiled Method Load event for methods that are inlined by
> 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


View raw message