/spark profiler open prints a warning about dynamic loading of Java agents
jobatabs opened this issue ยท 1 comments
Description
Hi, when running command spark profile open for the first time after a server restart, a warning pops up about dynamic loading of Java agents (see attached gist). I am wondering if I should add the startup argument the warning suggests to my configuration.
Reproduction Steps
Run command /spark profile open
Expected Behaviour
I would expect the installation guide to suggest enabling dynamic loading if it is required by spark.
Platform Information
- Minecraft Version: 1.20.2
- Platform Type: server
- Platform Brand: Paper
- Platform Version: git-Paper-245
Spark Version
v1.10.55
Logs and Configs
https://gist.github.com/jobatabs/67ff5e3b87892091b5baf4dde8a00ad6
Extra Details
No response
Reproducible on git-Paper-280
, I just ran spark profiler open
after server start and got the error again
[ERROR] [Minecraft] [STDERR] [sun.instrument.InstrumentationImpl] WARNING: A Java agent has been loaded dynamically (/tmp/byteBuddyAgent16752265738776440594.jar)
WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
WARNING: Dynamic loading of agents will be disallowed by default in a future release