Skip to content

Commit 45f1eee

Browse files
committed
Review comments
1 parent 0a282af commit 45f1eee

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

compiler/mx.compiler/mx_graal_tools.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,11 @@ def run_netbeans_app(app_name, jdkhome, args=None, dist=None):
8080
def igv(args):
8181
"""run the Ideal Graph Visualizer
8282
83-
The current version is based on NetBeans 22 which officially supports JDK 17 through JDK 22. A
83+
The current version is based on NetBeans 26 which officially supports JDK 17 through JDK 24. A
8484
supported JDK will be chosen from the JDKs known to mx but it will fall back to whatever is
8585
configured as JAVA_HOME if a supported JDK can't be found. It's not recommended to run igv with
86-
pre-release JDKs.
86+
pre-release JDKs. Setting TOOLS_JAVA_HOME to point at a supported JDK is the recommended way to
87+
configure the JDK for IGV.
8788
8889
You can directly control which JDK is used to launch IGV using
8990
@@ -120,6 +121,7 @@ def _do_not_abort(msg):
120121
mx.warn(f'mx help igv provides more details.')
121122

122123
v24 = mx.VersionSpec("24")
124+
# check for jargraal by looking for modules that are used by jdk.graal.compiler.
123125
if jdk.version >= v24 and 'org.graalvm.word' in (jmd.name for jmd in jdk.get_modules()):
124126
# disable JVMCI if jargraal is available to avoid collision with jdk.graal.compiler.graphio
125127
args.append('-J-XX:-UseJVMICompiler')

visualizer/Readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
## Prerequisites
44

5-
- JDK 21 is the recommended Java runtime platform for IGV, but any release between 17 and 22 is
6-
supported by the NetBeans 22 platform.
5+
- JDK 21 is the recommended Java runtime platform for IGV, but any release between 17 and 24 is
6+
supported by the NetBeans 24 platform.
77

88
## Building and testing IGV
99

1010
### MX
1111

1212
IGV is an MX project and for convenience should be built and tested as such. It's also a NetBeans
13-
22 project based on Maven so it can be developed using any tool chain which supports Maven.
13+
26 project based on Maven so it can be developed using any tool chain which supports Maven.
1414
Certains kind of edits, like editing the NetBeans module exlusions or editing the special UI
1515
components, will require using NetBeans.
1616

0 commit comments

Comments
 (0)