Skip to content

Commit f9385ee

Browse files
committed
update to C1Visualizer 1.10 (GR-32846)
1 parent 70ae47e commit f9385ee

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

compiler/mx.compiler/mx_graal_tools.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,11 @@ def igv(args):
8282
def c1visualizer(args):
8383
"""run the C1 Compiler Visualizer"""
8484
v8u40 = mx.VersionSpec("1.8.0_40")
85+
v12 = mx.VersionSpec("12")
8586
def _c1vJdkVersionCheck(version):
86-
return version >= v8u40 and str(version).startswith('1.8.0')
87+
return version >= v8u40 and version < v12
8788
env = dict(os.environ)
88-
env['jdkhome'] = mx.get_jdk(_c1vJdkVersionCheck, versionDescription='(1.8 JDK that is >= 1.8.0u40 )', purpose="running C1 Visualizer").home
89+
env['jdkhome'] = mx.get_jdk(_c1vJdkVersionCheck, versionDescription='(JDK that is >= 1.8.0u40 and <= 11)', purpose="running C1 Visualizer").home
8990
run_netbeans_app('C1Visualizer', env, args() if callable(args) else args)
9091

9192
def hsdis(args, copyToDir=None):

compiler/mx.compiler/suite.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@
9696
},
9797

9898
"C1VISUALIZER_DIST" : {
99-
"urls" : ["https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/c1visualizer/c1visualizer-1.7.zip"],
100-
"sha1" : "305a772ccbdc0e42dfa233b0ce6762d0dd1de6de",
99+
"urls" : ["https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/c1visualizer/c1visualizer-1.10.zip"],
100+
"sha1" : "548e383a732944a84456c2caf36b163b9a8db495",
101101
"packedResource": True,
102102
},
103103

0 commit comments

Comments
 (0)