microsoft / microsoft/gctoolkit
PSYoungGen getDuration method not returning duration for a specific log
@kcpeppe is already working on this.
Since Jul 7, 2022.
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 177
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 3
Description
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 method 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.
Let me know if you need the GC Log file.
Originally posted by @HritwikSinghal in https://github.com/microsoft/gctoolkit/discussions/218#discussioncomment-3095648
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.