Skip to content
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

8279068: IGV: Update to work with JDK 16 and 17 #7347

Closed
wants to merge 8 commits into from

Conversation

robcasloz
Copy link
Contributor

@robcasloz robcasloz commented Feb 4, 2022

This change upgrades the NetBeans Platform on which IGV is based to its latest version (12.6). The upgrade introduces support for JDK versions 16 and 17, and drops support for versions earlier than 11. The change adds a check to enforce that a supported JDK version is used when building IGV, emitting an informative error message otherwise.

Testing

Tested the following use cases manually on all combinations of (Linux, Windows, macOS) and (JDK 11, JDK 16, JDK 17):

  • build
  • open graph file (small.xml in 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
  • export graph as PDF
  • remove a group
  • save groups into a file
  • open a large graph file (large.xml in test-input.zip)
  • open a large graph ("After Escape Analysis" in large.xml)

Also tested that building IGV on JDK 8 and 18 (EA) fails with the error message "IGV requires a JDK version between 11 and 17".

Thanks to Jesper Wilhelmsson for helping with testing on macOS.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed

Issue

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/7347/head:pull/7347
$ git checkout pull/7347

Update a local copy of the PR:
$ git checkout pull/7347
$ git pull https://git.openjdk.java.net/jdk pull/7347/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 7347

View PR using the GUI difftool:
$ git pr show -t 7347

Using diff file

Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/7347.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Feb 4, 2022

👋 Welcome back rcastanedalo! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Feb 4, 2022

@robcasloz The following labels will be automatically applied to this pull request:

  • build
  • hotspot-compiler

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added build build-dev@openjdk.org hotspot-compiler hotspot-compiler-dev@openjdk.org labels Feb 4, 2022
@robcasloz
Copy link
Contributor Author

/label remove build

@openjdk openjdk bot removed the build build-dev@openjdk.org label Feb 4, 2022
@openjdk
Copy link

openjdk bot commented Feb 4, 2022

@robcasloz
The build label was successfully removed.

@robcasloz robcasloz marked this pull request as ready for review February 16, 2022 14:38
@openjdk openjdk bot added the rfr Pull request is ready for review label Feb 16, 2022
@mlbridge
Copy link

mlbridge bot commented Feb 16, 2022

Webrevs

Copy link
Contributor

@vnkozlov vnkozlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good.

@openjdk
Copy link

openjdk bot commented Feb 16, 2022

@robcasloz This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8279068: IGV: Update to work with JDK 16 and 17

Reviewed-by: kvn, neliasso, chagedorn

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 245 new commits pushed to the master branch:

  • 1864481: 8279969: NULL return from map_bitmap_region() needs to be checked
  • 1eec16b: 8281803: AArch64: Optimize masked vector NOT/AND_NOT for SVE
  • cd234f5: 8282007: Assorted enhancements to jpackage testing framework
  • b6e48e6: Merge
  • 0f2113c: 8280415: Remove EA from JDK 18 version string starting with Initial RC promotion B35 on February 10, 2022
  • 2be2a29: 8281713: [BACKOUT] AArch64: Implement string_compare intrinsic in SVE
  • 0b00ce1: 8282011: test/jdk/tools/jpackage/windows/WinL10nTest.java test fails if light.exe is not in %PATH%
  • 5ec7898: 8281671: Class.getCanonicalName spec should explicitly cover array classes
  • 9ba0760: 8275345: RasterFormatException when drawing a tiled image made of non-writable rasters
  • 48f6e93: 8282020: ProblemList sun/net/www/protocol/https/HttpsURLConnection/B6216082.java until JDK-8282017 is fixed
  • ... and 235 more: https://git.openjdk.java.net/jdk/compare/a07e19d8336f8fbea8736ba169787aec6d812817...master

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.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Feb 16, 2022
Copy link

@neliasso neliasso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@robcasloz
Copy link
Contributor Author

Thanks for reviewing, Vladimir and Nils!

Copy link
Member

@chhagedorn chhagedorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice update!

@robcasloz
Copy link
Contributor Author

Thanks, Christian!

@robcasloz
Copy link
Contributor Author

/integrate

@openjdk
Copy link

openjdk bot commented Feb 18, 2022

Going to push as commit 7bcca76.
Since your change was applied there have been 259 commits pushed to the master branch:

  • c928958: 8281936: compiler/arguments/TestCodeEntryAlignment.java fails on AVX512 machines
  • a22f422: 8037573: Typo in DefaultTreeModel docs: askAllowsChildren instead of asksAllowsChildren
  • fdce35f: 8282025: assert(ctrl != __null) failed: control out is assumed to be unique after JDK-8281732
  • f830cbe: 8188073: Add Capstone as backend for hsdis
  • 69fc273: 8282075: ProblemList 3 compiler/whitebox tests on macosx-x64
  • 1292776: 8281317: CompactNumberFormat displays 4-digit values when rounding to a new range
  • cd9a3cf: 8282017: sun/net/www/protocol/https/HttpsURLConnection/B6216082.java fails with "SocketException: Unexpected end of file from server"
  • a6f8a38: 8281000: ClassLoader::registerAsParallelCapable throws NPE if caller is null
  • 4c7f8b4: 8268250: Class.arrayType() for a 255-d array throws undocumented IllegalArgumentException
  • d0e1180: 8282019: Unused static fields DEGREES_TO_RADIANS, RADIANS_TO_DEGREES in StrictMath
  • ... and 249 more: https://git.openjdk.java.net/jdk/compare/a07e19d8336f8fbea8736ba169787aec6d812817...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Feb 18, 2022
@openjdk openjdk bot closed this Feb 18, 2022
@openjdk openjdk bot removed the ready Pull request is ready to be integrated label Feb 18, 2022
@openjdk openjdk bot removed the rfr Pull request is ready for review label Feb 18, 2022
@openjdk
Copy link

openjdk bot commented Feb 18, 2022

@robcasloz Pushed as commit 7bcca76.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotspot-compiler hotspot-compiler-dev@openjdk.org integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

4 participants