Comments (21)
Quick fix: Append JVM parameter -Xverify:none
to application
from visualvm.
Xerus2000's workaround works for me. In Eclipse, opened
Run Configurations -> Arguments tab
and added "-Xverify:none" to the "VM Arguments" text area.
from visualvm.
Caused by an incompatible change in Java. We're working on resolving it somehow. The only workaround so far is to use JDK 8u112 or older.
from visualvm.
See https://visualvm.github.io/troubleshooting.html
from visualvm.
Well, I just hit this with 202.
8u202 contains VisualVM 1.3.9. You need to use VisualVM 1.4 or newer.
from visualvm.
this workaround appears to work too, at least for me (I'm also running OpenJDK 1.8.0_144)
from visualvm.
I'm running on openjdk 11.0.2:
openjdk 11.0.2 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.2+7)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+7, mixed mode)
and it also prints similar error:
Profiler Agent Error: Redefinition failed for classes:
my.GroovyScript
Profiler Agent Error: with message: Redefinition failed with error 62
Check JVMTI documentation for this error code.
Debug: writing class file: my.GroovyScript, into file: my.GroovyScript.class
when I try to profile app using visualvm 1.4.4.
Is this specific to Groovy?
from visualvm.
Same issue happens to newer JVisualVM, Version: 1.3.9 (Build 161004); platform 20161002-268c3bcd7a42
from visualvm.
Same with 1.8.0_144.
from visualvm.
This issue is fixed in VisualVM 1.4.
from visualvm.
Still present in JDK 1.8.0_161 (Build 170114)
from visualvm.
still present in JDK 1.8.0_162
from visualvm.
still present in JDK 1.8.0_171
from visualvm.
@dagnelies You need to use VisualVM 1.4 or newer, not Java VisualVM from JDK 1.8.0_171.
from visualvm.
It works for after setting the below configuration:
Run Configurations -> Arguments tab
and added "-Xverify:none" to the "VM Arguments" text area.
and am using JDK 1.8.0_144
Thanks
from visualvm.
Same issue, -Xverify:none
workaround fixed it.
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
ProductName: Mac OS X
ProductVersion: 10.13.6
BuildVersion: 17G2307
from visualvm.
@artash You need to use VisualVM 1.4 or newer.
from visualvm.
Well, I just hit this with 202.
from visualvm.
Same issue here with 8u11, VisualVM 1.4.1 Build 180424
from visualvm.
Same issue here with 8u11, VisualVM 1.4.1 Build 180424
This looks like different issue. Please file separate bug with steps how to reproduce it.
from visualvm.
@m31collision This looks like different issue. Please file new issue and provide steps how to reproduce it. Thanks.
from visualvm.
Related Issues (20)
- JDBC sampler is gone HOT 1
- Conflict between vscode visualvm extension and run test with coverage HOT 1
- Add the ability to group remote connections in the application tree
- StackOverflowError when starting HOT 3
- After installing VisualVM 2.1.8 on a Mac Apple M1 Pro, the “Perform GC” function cannot be used. HOT 16
- Invalid
- Use visualvm 2.1.8 to open visual gc to display "Not supported for this JVM" HOT 3
- Use visualvm 2.1.8 to open visual gc to display "Not supported for this JVM"
- Cannot locate java installation in specified jdkhome HOT 1
- The retained size of arrays does not include the retained size of it's elements HOT 3
- Add support for JDK 23
- VisualVM insta-crashes on Windows 11 pro HOT 12
- Extract JFR information from Linux Command Line HOT 2
- Not supported for this JVM. HOT 1
- visualvm 2.1.9 ,win11, the application is freeze HOT 1
- [HeapViewer] Cannot expand 'null' node HOT 1
- [HeapViewer] Do not expand all threads HOT 1
- Upgrade NetBeans Platform to 22
- Source Roots don't work in VSCode extension HOT 2
- [HeapViewer] Slow computation of retained size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from visualvm.