-
Notifications
You must be signed in to change notification settings - Fork 35
Added JFR Event Streaming Demo #347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @NayanKaushik25 and thank you for your contribution.
Unfortunatelly, like this it cannot be accepted, because the new demo file won't get loaded in src/main/java/org/javademos/init/Java14DemoLoader.java and the info method won't find required data for JEP 349 in src/main/resources/JDK14Info.json.
Please, check the recent PRs or refer to the contribution guide, and update your PR accordingly, so it can be accepted and merged
|
@AloisSeckar I made the changes. Please take a look. |
…antiated the demo
| import org.javademos.java14.jep366.ParallelScavengeGCCombinationDemo; | ||
| import org.javademos.java14.jep368.TextBlockSecondPreviewDemo; | ||
| import org.javademos.java14.jep370.ForeignMemoryAccessDemo; | ||
| import org.javademos.java14.jep349.JFREventStreamingDemo; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for updates. To keep the consistency across the project, please also re-arrange the import to be ordered by the JEP number (so it would appear at line 10)
| demos.put(366, new ParallelScavengeGCCombinationDemo()); | ||
| demos.put(368, new TextBlockSecondPreviewDemo()); | ||
| demos.put(370, new ForeignMemoryAccessDemo()); | ||
| demos.put(349, new JFREventStreamingDemo()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, please maintain the order by the number ascending
src/main/resources/JDK14Info.json
Outdated
| "link": true, | ||
| "code": false | ||
| }, | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and also here in the JSON file - records should be ordered to be able to navigate through them quickly
…ile and the DemoLoader file
|
Ok. I reordered them. |
@NayanKaushik25 the import is still on line 19 - should be also moved to line 10 |
|
My apologies. I've reordered it now. |
Solves Issue #327 by implementing a demo for JFR Event Streaming.
Features Implemented: