I am not able to connect with JProfiler 7.2.2 successfully.
In my application, they have a instrumented startup code used in Linux box. I have added -agentpath:/opt/jprofiler7/bin/linux-x64/libjprofilerti.so=port=8849,nowait
to startup code.
I am seeing the below details in the startup log:
JProfiler> VM initialized
JProfiler> Hotspot compiler enabled
JProfiler> WARNING: Dangerous VM parameters detected: [-XX:+UseConcMarkSweepGC]
JProfiler> The profiling interface of the JVM might crash for certain operations
Setting system properties.
[MySystemClassLoader@4506411] warning javax.* types are not being woven because the weaver option '-Xset:weaveJavaxPackages=true' has not been specified
Starting MyApp
But when I connect from a remote client from my Windows PC, it hangs for a while and times out.
Also, the below params are present in the startup params:
-Xmx4096m \
-XX:PermSize=512m \
-XX:MaxPermSize=512m \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=/opt/CSCOlumos/crash \
-XX:ThreadStackSize=256 \
-XX:+UseConcMarkSweepGC \
-XX:ParallelGCThreads=5 \
-XX:NewRatio=2
Could any of these params cause problem for JProfiler connection?