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
8264795: IGV: Upgrade NetBeans platform #3361
Conversation
…ith the previous model
@robcasloz |
Webrevs
|
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.
Great work!
After this is pushed consider to update wiki page too: https://wiki.openjdk.java.net/display/HotSpot/IdealGraphVisualizer
@robcasloz This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 136 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
|
Thanks for reviewing, Vladimir! Yes, I plan to do that. |
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.
Very nice work!
...s/IdealGraphVisualizer/Data/src/main/java/com/sun/hotspot/igv/data/serialization/Parser.java
Outdated
Show resolved
Hide resolved
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.
I have tested IGV on a High-DPI screen (4K). The screens are attached to the bug-report.
Compared to baseline the new version improved DPI scaling on both JDK8 and JDK15. Some elements still doesn't scale.
Remaining issues identified:
- The default zoom level is to small
- The filter view has broken scaling - the font scales but not the line height.
- The buttons above the graph view and file list doesn't scale - they are still tiny.
- The splash screen doesn't scale
Still this is a big improvement and the remaining issues can be solved in separate PRs.
Looks good - Reviewed!
Thanks for reviewing, Christian! |
Thanks for reviewing, Nils! I will create a separate RFE for DPI scaling issues. I also added a clarification to the README file (e84d171) based on our offline discussion. |
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 modernizing IGV. I manage to import this project to IntelliJ. The process is hassle-free!
I also ran using jdk8/jdk11 on macOS. I haven't identified any problem so far.
Nice work. It works on Windows home pc. |
Thanks for checking, Xin! |
Thanks for checking, Yang! |
/summary |
@robcasloz Setting summary to:
|
/integrate |
@robcasloz Since your change was applied there have been 136 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 954b9a1. |
This change upgrades the NetBeans platform on which IGV is based to its latest version (12.3) and switches IGV's build system from Ant to Maven. The upgrade introduces support for a wide range of JDK versions (from 8 to 15, the latest version supported by NetBeans 12.3), and the switch from Ant to Maven makes the IGV build simpler, faster (first-time build is approximately 5x faster), and more stable (all dependencies are fetched directly from the Maven central repository).
The change also fixes broken unit tests in the Data module and runs them by default when building.
Testing
Regression-tested the following use cases manually on all combinations of (Linux, Windows, macOS) and (JDK 8, JDK 11, JDK 15):
Thanks to Vladimir Ivanov for helping with testing on macOS.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/3361/head:pull/3361
$ git checkout pull/3361
Update a local copy of the PR:
$ git checkout pull/3361
$ git pull https://git.openjdk.java.net/jdk pull/3361/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3361
View PR using the GUI difftool:
$ git pr show -t 3361
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/3361.diff