RFR: 8264795: IGV: Upgrade NetBeans platform [v2]

Roberto Castañeda Lozano rcastanedalo at openjdk.java.net
Wed Apr 7 11:59:28 UTC 2021


> This change upgrades the NetBeans platform on which IGV is based to its latest version ([12.3](https://netbeans.apache.org/download/nb123/index.html)) 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):
> 
> - build
> - open graph file (small.xml in [test-input.zip](https://bugs.openjdk.java.net/secure/attachment/93988/test-input.zip))
> - import graphs via network (localhost)
> - expand groups in outline
> - open a graph
> - open a clone
> - zoom in and out
> - search a node
> - apply filters
> - extract a node
> - show all nodes
> - select nodes corresponding to a bytecode
> - view control flow
> - select nodes corresponding to a basic block
> - cluster nodes
> - show satellite view
> - compute the difference of two graphs
> - change node text
> - remove a group
> - save groups into a file
> - open a large graph file (large.xml in [test-input.zip](https://bugs.openjdk.java.net/secure/attachment/93988/test-input.zip))
> - open a large graph ("After Escape Analysis" in large.xml)
> 
> Thanks to Vladimir Ivanov for helping with testing on macOS.

Roberto Castañeda Lozano has updated the pull request incrementally with three additional commits since the last revision:

 - Document how to build and run on a specific JDK
 - Use lambdas to define runnables
 - Document latest JDK version supported

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3361/files
  - new: https://git.openjdk.java.net/jdk/pull/3361/files/11fb43fa..e84d171e

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3361&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3361&range=00-01

  Stats: 24 lines in 2 files changed: 5 ins; 15 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3361.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3361/head:pull/3361

PR: https://git.openjdk.java.net/jdk/pull/3361


More information about the hotspot-compiler-dev mailing list