-
Notifications
You must be signed in to change notification settings - Fork 324
Closed
Labels
Description
Environment
Version: 1.8.0_131 (Build 1390-170114); platform 20170114-unknown-revn
System: Mac OS X (10.12.5) , x86_64 64bit
Java: 1.8.0_131; Java HotSpot(TM) 64-Bit Server VM (25.131-b11, mixed mode)
Vendor: Oracle Corporation, http://java.oracle.com/
Repro steps
- run application (source code blow);
- run JVisualVM;
- select application on Applications tab, then Profiler tab on the right, then press 'CPU' to start profiling.
Result
JVisualVM displays popup with error message "Redefinition failed with error 62
Check JVMTI documentation for this error code."
Test app source code
class perf {
public static void main(String[] args) throws InterruptedException {
for(;;) {
a();
b();
c();
}
}
static void a()throws InterruptedException{Thread.sleep(200);};
static void b()throws InterruptedException{Thread.sleep(1000);};
static void c()throws InterruptedException{Thread.sleep(2000);};
}
juanmirocks, robert7k and perlun