spark

spark

95M Downloads

Spark Profiler Stop

belphegorspn opened this issue · 1 comments

commented

Every time I stop the profiler to check it, it makes a huge chunk of console warning and lags the server for a few seconds

[09:57:22 INFO]: belphygore issued server command: /spark profiler stop
[09:57:23 INFO]: [⚡] Stopping the profiler & uploading results, please wait...
[09:57:23 INFO]: 🔥BLAZING🔥 wFangz  »  fr
[09:57:27 WARN]: [spark] A command execution has not completed after 5 seconds, it might be stuck. Trace: 
  [email protected]/java.lang.ClassLoader.findLoadedClass0(Native Method)
  [email protected]/java.lang.ClassLoader.findLoadedClass(ClassLoader.java:1285)
  [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:569)
  [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:574)
  org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:155)
  org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:130)
  io.papermc.paper.plugin.entrypoint.classloader.group.SpigotPluginClassLoaderGroup.lookupClass(SpigotPluginClassLoaderGroup.java:34)
  io.papermc.paper.plugin.entrypoint.classloader.group.SimpleListPluginClassLoaderGroup.getClassByName(SimpleListPluginClassLoaderGroup.java:37)
  io.papermc.paper.plugin.entrypoint.classloader.group.LockingClassLoaderGroup.getClassByName(LockingClassLoaderGroup.java:34)
  org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:173)
  org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:150)
  [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
  [email protected]/java.lang.Class.forName0(Native Method)
  [email protected]/java.lang.Class.forName(Class.java:375)
  spark.jar//me.lucko.spark.common.util.ClassFinder.findClass(ClassFinder.java:66)
  spark.jar//me.lucko.spark.common.sampler.source.ClassSourceLookup$VisitorImpl.lambda$visitStackNode$0(ClassSourceLookup.java:281)
  spark.jar//me.lucko.spark.common.sampler.source.ClassSourceLookup$VisitorImpl$$Lambda$17035/0x0000000803acb580.compute(Unknown Source)
  spark.jar//me.lucko.spark.common.sampler.source.ClassSourceLookup$SourcesMap.computeIfAbsent(ClassSourceLookup.java:340)
  spark.jar//me.lucko.spark.common.sampler.source.ClassSourceLookup$VisitorImpl.visitStackNode(ClassSourceLookup.java:278)
  spark.jar//me.lucko.spark.common.sampler.source.ClassSourceLookup$VisitorImpl.visit(ClassSourceLookup.java:272)
  spark.jar//me.lucko.spark.common.sampler.AbstractSampler.writeDataToProto(AbstractSampler.java:249)
  spark.jar//me.lucko.spark.common.sampler.async.AsyncSampler.toProto(AsyncSampler.java:221)
  spark.jar//me.lucko.spark.common.command.modules.SamplerModule.handleUpload(SamplerModule.java:422)
  spark.jar//me.lucko.spark.common.command.modules.SamplerModule.profilerStop(SamplerModule.java:408)
  spark.jar//me.lucko.spark.common.command.modules.SamplerModule.profiler(SamplerModule.java:141)
  spark.jar//me.lucko.spark.common.command.modules.SamplerModule$$Lambda$11116/0x0000000802c8a960.execute(Unknown Source)
  spark.jar//me.lucko.spark.common.SparkPlatform.executeCommand0(SparkPlatform.java:425)
  spark.jar//me.lucko.spark.common.SparkPlatform.lambda$executeCommand$2(SparkPlatform.java:334)
  spark.jar//me.lucko.spark.common.SparkPlatform$$Lambda$16970/0x0000000803831fb0.run(Unknown Source)
  org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftTask.run(CraftTask.java:101)
  org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
  com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
  [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
  [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
  [email protected]/java.lang.Thread.run(Thread.java:833)
[09:57:28 WARN]: Can't keep up! Is the server overloaded? Running 5329ms or 106 ticks behind
[09:57:28 WARN]: wFangz moved too quickly! 23.287486561671358,-1.0284767132476276,0.06874165055342019
[09:57:32 WARN]: [spark] A command execution has not completed after 10 seconds, it might be stuck. Trace: 
  [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
  [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:574)
  org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:155)
  org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:130)
  io.papermc.paper.plugin.entrypoint.classloader.group.SpigotPluginClassLoaderGroup.lookupClass(SpigotPluginClassLoaderGroup.java:34)
  io.papermc.paper.plugin.entrypoint.classloader.group.SimpleListPluginClassLoaderGroup.getClassByName(SimpleListPluginClassLoaderGroup.java:37)
  io.papermc.paper.plugin.entrypoint.classloader.group.LockingClassLoaderGroup.getClassByName(LockingClassLoaderGroup.java:34)
  org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:173)
  org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:150)
  [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
  [email protected]/java.lang.Class.forName0(Native Method)
  [email protected]/java.lang.Class.forName(Class.java:375)
  spark.jar//me.lucko.spark.common.util.ClassFinder.findClass(ClassFinder.java:66)
  spark.jar//me.lucko.spark.common.sampler.source.ClassSourceLookup$VisitorImpl.lambda$visitStackNode$0(ClassSourceLookup.java:281)
  spark.jar//me.lucko.spark.common.sampler.source.ClassSourceLookup$VisitorImpl$$Lambda$17035/0x0000000803acb580.compute(Unknown Source)
  spark.jar//me.lucko.spark.common.sampler.source.ClassSourceLookup$SourcesMap.computeIfAbsent(ClassSourceLookup.java:340)
  spark.jar//me.lucko.spark.common.sampler.source.ClassSourceLookup$VisitorImpl.visitStackNode(ClassSourceLookup.java:278)
  spark.jar//me.lucko.spark.common.sampler.source.ClassSourceLookup$VisitorImpl.visit(ClassSourceLookup.java:272)
  spark.jar//me.lucko.spark.common.sampler.AbstractSampler.writeDataToProto(AbstractSampler.java:249)
  spark.jar//me.lucko.spark.common.sampler.async.AsyncSampler.toProto(AsyncSampler.java:221)
  spark.jar//me.lucko.spark.common.command.modules.SamplerModule.handleUpload(SamplerModule.java:422)
  spark.jar//me.lucko.spark.common.command.modules.SamplerModule.profilerStop(SamplerModule.java:408)
  spark.jar//me.lucko.spark.common.command.modules.SamplerModule.profiler(SamplerModule.java:141)
  spark.jar//me.lucko.spark.common.command.modules.SamplerModule$$Lambda$11116/0x0000000802c8a960.execute(Unknown Source)
  spark.jar//me.lucko.spark.common.SparkPlatform.executeCommand0(SparkPlatform.java:425)
  spark.jar//me.lucko.spark.common.SparkPlatform.lambda$executeCommand$2(SparkPlatform.java:334)
  spark.jar//me.lucko.spark.common.SparkPlatform$$Lambda$16970/0x0000000803831fb0.run(Unknown Source)
  org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftTask.run(CraftTask.java:101)
  org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
  com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
  [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
  [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
  [email protected]/java.lang.Thread.run(Thread.java:833)
[09:57:37 WARN]: [spark] A command execution has not completed after 15 seconds, it might be stuck. Trace: 
  [email protected]/java.lang.ClassLoader.findBootstrapClass(Native Method)
  [email protected]/java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.java:1262)
  [email protected]/java.lang.System$2.findBootstrapClassOrNull(System.java:2310)
  [email protected]/jdk.internal.loader.ClassLoaders$BootClassLoader.loadClassOrNull(ClassLoaders.java:140)
  [email protected]/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:700)
  [email protected]/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:676)
  [email protected]/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
  [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:574)
  [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:574)
  org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:155)
  org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:150)
  [email protected]/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
  [email protected]/java.lang.Class.forName0(Native Method)
  [email protected]/java.lang.Class.forName(Class.java:375)
  spark.jar//me.lucko.spark.common.util.ClassFinder.findClass(ClassFinder.java:66)
  spark.jar//me.lucko.spark.common.sampler.source.ClassSourceLookup$VisitorImpl.lambda$visitStackNode$0(ClassSourceLookup.java:281)
  spark.jar//me.lucko.spark.common.sampler.source.ClassSourceLookup$VisitorImpl$$Lambda$17035/0x0000000803acb580.compute(Unknown Source)
  spark.jar//me.lucko.spark.common.sampler.source.ClassSourceLookup$SourcesMap.computeIfAbsent(ClassSourceLookup.java:340)
  spark.jar//me.lucko.spark.common.sampler.source.ClassSourceLookup$VisitorImpl.visitStackNode(ClassSourceLookup.java:278)
  spark.jar//me.lucko.spark.common.sampler.source.ClassSourceLookup$VisitorImpl.visit(ClassSourceLookup.java:272)
  spark.jar//me.lucko.spark.common.sampler.AbstractSampler.writeDataToProto(AbstractSampler.java:249)
  spark.jar//me.lucko.spark.common.sampler.async.AsyncSampler.toProto(AsyncSampler.java:221)
  spark.jar//me.lucko.spark.common.command.modules.SamplerModule.handleUpload(SamplerModule.java:422)
  spark.jar//me.lucko.spark.common.command.modules.SamplerModule.profilerStop(SamplerModule.java:408)
  spark.jar//me.lucko.spark.common.command.modules.SamplerModule.profiler(SamplerModule.java:141)
  spark.jar//me.lucko.spark.common.command.modules.SamplerModule$$Lambda$11116/0x0000000802c8a960.execute(Unknown Source)
  spark.jar//me.lucko.spark.common.SparkPlatform.executeCommand0(SparkPlatform.java:425)
  spark.jar//me.lucko.spark.common.SparkPlatform.lambda$executeCommand$2(SparkPlatform.java:334)
  spark.jar//me.lucko.spark.common.SparkPlatform$$Lambda$16970/0x0000000803831fb0.run(Unknown Source)
  org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftTask.run(CraftTask.java:101)
  org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
  com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
  [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
  [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
  [email protected]/java.lang.Thread.run(Thread.java:833)
[09:57:47 WARN]: bloffy01 moved too quickly! 36.98181616981219,-15.466955627900333,-39.76830423035426
[09:57:47 INFO]: [⚡] Profiler stopped & upload complete!
[09:57:47 INFO]: https://spark.lucko.me/eqehyF1PA4
[09:57:47 INFO]: [⚡] Restarted the background profiler. (If you don't want this to happen, run: /spark profiler cancel)
commented

This is fine, you can ignore the warning message