[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[virgo-dev] Virgo taking 100% CPU

Hi,

I am trying to port our app to Virgo 3.7.1 (from 3.6.2). In this
regard, I see that a particular thread takes up 100% CPU and continues
to do so until I kill the process. My guess is that the code is
getting into an infinite loop. Any ideas on how to debug or solve the
problem? Here is the stack trace of the thread:

"fs-watcher" #59 daemon prio=5 os_prio=0 tid=0x00007f7f5005e800
nid=0x7deb runnable [0x00007f7f39dfa000]
   java.lang.Thread.State: RUNNABLE
at org.eclipse.osgi.internal.resolver.ImportPackageSpecificationImpl.isSatisfiedBy(ImportPackageSpecificationImpl.java:108)
at org.eclipse.osgi.internal.resolver.ImportPackageSpecificationImpl.isSatisfiedBy(ImportPackageSpecificationImpl.java:98)
at org.eclipse.virgo.kernel.userregion.internal.equinox.UsesAnalyser.getResolvedCandidateExports(UsesAnalyser.java:160)
at org.eclipse.virgo.kernel.userregion.internal.equinox.UsesAnalyser.getCandidateExports(UsesAnalyser.java:280)
at org.eclipse.virgo.kernel.userregion.internal.equinox.UsesAnalyser.addUsedImportedPackages(UsesAnalyser.java:227)
at org.eclipse.virgo.kernel.userregion.internal.equinox.UsesAnalyser.computeUsesClosure(UsesAnalyser.java:147)
at org.eclipse.virgo.kernel.userregion.internal.equinox.UsesAnalyser.generateExportPackagesVisibleInFailedBundle(UsesAnalyser.java:129)
at org.eclipse.virgo.kernel.userregion.internal.equinox.UsesAnalyser.getUsesConflicts(UsesAnalyser.java:55)
at org.eclipse.virgo.kernel.userregion.internal.quasi.StandardResolutionFailureDetective.formatUsesConflict(StandardResolutionFailureDetective.java:244)
at org.eclipse.virgo.kernel.userregion.internal.quasi.StandardResolutionFailureDetective.formatResolverError(StandardResolutionFailureDetective.java:199)
at org.eclipse.virgo.kernel.userregion.internal.quasi.StandardResolutionFailureDetective.generateFailureDescription(StandardResolutionFailureDetective.java:76)
at org.eclipse.virgo.kernel.userregion.internal.quasi.DependencyCalculator.calculateDependencies(DependencyCalculator.java:141)
- locked <0x00000006c95d7b48> (a java.lang.Object)
at org.eclipse.virgo.kernel.userregion.internal.quasi.StandardQuasiFramework.getDependencies(StandardQuasiFramework.java:249)
at org.eclipse.virgo.kernel.userregion.internal.quasi.StandardQuasiFramework.resolve(StandardQuasiFramework.java:223)
- locked <0x00000006c95d7df0> (a java.lang.Object)
at org.eclipse.virgo.kernel.install.pipeline.stage.resolve.internal.QuasiResolveStage.process(QuasiResolveStage.java:43)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessGraph(CompensatingPipeline.java:73)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:359)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:185)
- locked <0x00000006c1aec850> (a java.lang.Object)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:140)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:253)
- locked <0x00000006c1aec850> (a java.lang.Object)
at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeployerFileSystemListener.java:225)
at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeployerFileSystemListener.java:237)
at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeployerFileSystemListener.java:88)
at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:380)
at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:289)
- locked <0x00000006c2bc8768> (a java.lang.Object)
at org.eclipse.virgo.nano.deployer.hot.WatchTask.run(WatchTask.java:49)
at java.lang.Thread.run(Thread.java:748)

Thanks,
Raghu