We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12cb7ae commit df4ca26Copy full SHA for df4ca26
visualvm/sa/src/org/graalvm/visualvm/sa/SaModelProvider.java
@@ -57,7 +57,10 @@ public SaModel createModelFor(DataSource ds) {
57
if (Host.LOCALHOST.equals(app.getHost())) {
58
JvmJvmstatModel jvmstat = JvmJvmstatModelFactory.getJvmstatModelFor(app);
59
60
- if (jvmstat != null && Utilities.isWindows()) {
+ if (jvmstat == null) {
61
+ return null;
62
+ }
63
+ if (Utilities.isWindows()) {
64
// on Windows, SA can only attach to the process of the same
65
// architecture ( 32bit / 64bit )
66
Boolean this64bitArch = is64BitArchitecture();
0 commit comments