Obtaining methods executed at least once?
Keith McGuigan
keith.mcguigan at oracle.com
Wed May 16 04:52:01 PDT 2012
Have you considered using a JVMTI agent and catching the method
entry/return events? You'd have to do some work in the agent to ignore
duplicates though.
--
- Keith
On 5/16/2012 6:11 AM, David Holmes wrote:
> Andreas,
>
> I've cc'd this to hotspot-dev which is the right place to ask.
>
> Please drop the discuss list from further replies.
>
> David
>
> On 16/05/2012 6:56 PM, Andreas Sewe wrote:
>> Hi all,
>>
>> I hope this is the right mailing list to ask such questions (if not,
>> please point me to the right one), as I couldn't find an obvious
>> analogue to lists like jikesrvm-researchers.
>>
>> Is the a way (preferably using "diagnostic" rather than "develop"
>> options) to obtain a list of all methods executed at least once?
>> Currently I am considering "-XX:-UseInterpreter -XX:+LogCompilation",
>> but this seems to be an awfully indirect way to achieve my goal -- and
>> it may not even give correct results if the only call of m() is inlined
>> during compilation.
>>
>> Any help is greatly appreciated.
>>
>> Best wishes,
>>
>> Andreas
More information about the hotspot-dev
mailing list