Which events have what information #218
-
So while Reading the Developers guide, it said that the information an event contains is in its javadoc but many events does not have getDuration() method. Can anyone please help me where can i find what data an event stores since by inheritance, every Generational event should support getDuration() but many (like PSYoungGen) does not have that data and i also cant find this info in javadoc |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Every event inherits from com.microsoft.gctoolkit.event.jvm.JVMEvent which is where getDuration() is defined. Therefore, every event has a getDuration() method. I checked the generated javadoc for PSYoungGen and the methods inherited from JVMEvent are given. You may need to run Of course, there is much that can be done to improve the javadoc. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I believe the parser are capturing this information as they have in the
past. I’m not sure of what has gone off to create this particular issue but
will dig into it as soon as I can.
—- Kirk
…On Thu, Jul 7, 2022 at 00:07 Hritwik ***@***.***> wrote:
Every event inherits from com.microsoft.gctoolkit.event.jvm.JVMEvent which
is where getDuration() is defined. Therefore, every event has a
getDuration() method.
I checked the generated javadoc for PSYoungGen and the methods inherited
from JVMEvent are given.
Yes, the method is inherited from JVMEvent. However that methods does not
return anything for PSYoungGen event. Similar is the case for many other
events. By inheritence, it should have that data. But either the parsers
are not able to capture those events, or there is something else wrong.
For reference, i ran the same GC log file with GCToolkit and GCeasy.
GCEasy was able to get PSYoungGen event duration, GCToolkit was not.
—
Reply to this email directly, view it on GitHub
<#218 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE2NJ4WRHFYDYMTHEHYHU3VSX7R3ANCNFSM5ZLC2JNQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Every event inherits from com.microsoft.gctoolkit.event.jvm.JVMEvent which is where getDuration() is defined. Therefore, every event has a getDuration() method.
I checked the generated javadoc for PSYoungGen and the methods inherited from JVMEvent are given. You may need to run
./mvnw javadoc:javadoc
to generate the javadoc. PSYoungGen is in the javadoc of the api module.Of course, there is much that can be done to improve the javadoc.