Rethink GCToolKit API flow: GCAnalyzer returns GCAnalysis
See original GitHub issueFor discussion:
Bruno and I had a discussion about this API in general. It was very refreshing to have his un-initiated perspective here. One of the ideas he tossed into the ring was having an ‘analyzer’ API, to which my response was that is what GCToolkit is.
Later, I got to thinking about it and I see where he’s coming from. I think, perhaps, we should rename the GCToolKit class to GCAnalyzer, and have the analyze method return a GCAnalysis which would be what JavaVirtualMachine is now. I think this would make it more clear to the user what to do and what to use.
Thoughts?
_Originally posted by @dsgrieve in https://github.com/microsoft/gctoolkit/pull/70#issuecomment-910364145_
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
microsoft/gctoolkit: Tool for parsing GC logs - GitHub
The toolkit parses GC log files into discrete events and provides an API for aggregating data from those events. This allows the user...
Read more >Introducing Microsoft GCToolkit - Microsoft for Java Developers
The toolkit parses GC log files into discrete events and provides an API for aggregating data from those events. This allows the user...
Read more >Universal JVM GC analyzer - Java Garbage collection log ...
Free online java GC log analyzer. Analyze JVM, Android garbage collection logs. Troubleshoot long GC pause, memory leak, OutOfMemoryError.
Read more >Garbage Collector Log Analysers - Fasterj
Get rid of your performance problems and memory leaks! Modern Garbage Collection Tuning · Shows tuning flow chart for GC tuning ...
Read more >Using the GC Log Analyzer - Azul Docs
Looking for Zing? The Azul Zing Virtual Machine is now Azul Zulu Prime Builds of OpenJDK and part of Azul Platform Prime. Learn...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’ll be frank here and state my opinion that what we have now for an API is unsatisfactory. The API is designed to support the Censum way of modeling which makes it difficult for anyone else to use. The Aggregators/Aggregations, and the whole of gctoolkit-vertx, is a layer of abstraction that is unnecessary. I believe that the majority of users want to just get a stream of events from the parser:
@karianna There is value to the current API. In my opinion, the current API should be built on a more fundamental API.