Comments (6)
Whoops, completely missed this issue. Can confirm this issue after a brief
check. Investigating.
Original comment by r.biedert
on 11 Jan 2011 at 11:39
- Changed state: Accepted
from jspf.
Original comment by r.biedert
on 11 Jan 2011 at 11:39
from jspf.
Appears to be a problem of VisualVM. In my test case, the app uses 100% CPU,
VisualVM only reports 50%, but it clearly sees the "bigbang" thread eating all
resources:
"Thread-18" daemon prio=5 tid=106afd000 nid=0x117f22000 runnable [117f20000]
java.lang.Thread.State: RUNNABLE
at sun.nio.cs.UTF_8.updatePositions(UTF_8.java:58)
at sun.nio.cs.UTF_8$Encoder.encodeArrayLoop(UTF_8.java:392)
at sun.nio.cs.UTF_8$Encoder.encodeLoop(UTF_8.java:447)
at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:544)
at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:240)
at java.lang.StringCoding.encode(StringCoding.java:272)
at java.lang.StringCoding.encode(StringCoding.java:284)
at java.lang.String.getBytes(String.java:986)
at java.lang.ProcessEnvironment$Variable.valueOfQueryOnly(ProcessEnvironment.java:148)
at java.lang.ProcessEnvironment$Variable.valueOfQueryOnly(ProcessEnvironment.java:144)
at java.lang.ProcessEnvironment$StringEnvironment.get(ProcessEnvironment.java:223)
at java.lang.ProcessEnvironment$StringEnvironment.get(ProcessEnvironment.java:205)
at java.util.Collections$UnmodifiableMap.get(Collections.java:1282)
at java.lang.ProcessEnvironment.getenv(ProcessEnvironment.java:68)
at java.lang.System.getenv(System.java:847)
at net.xeoh.plugins.testplugins.testannotations.impl.TestAnnotationsAbtractImpl.bigbang(TestAnnotationsAbtractImpl.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.xeoh.plugins.base.impl.spawning.Spawner$2.run(Spawner.java:380)
at java.lang.Thread.run(Thread.java:680)
Original comment by r.biedert
on 11 Jan 2011 at 11:48
from jspf.
Well, how do you profile then? Any advice?
Original comment by [email protected]
on 11 Jan 2011 at 11:52
from jspf.
Frankly, no idea.
I played with VisualVM for some time now, and while it is able to see the
actual thread, it does not take it into account for profiling. All in all, this
looks like a VisualVM problem to me, not a JSPF one.
Have you tried another profiler like YourKit? I once used their demo version on
a JSPF project and it appeared to work without problems.
Original comment by r.biedert
on 11 Jan 2011 at 12:02
from jspf.
Closed, does not appear to be a JSPF bug. Will be reopened in case we have new
insights.
Original comment by r.biedert
on 24 Feb 2011 at 10:31
- Changed state: Invalid
from jspf.
Related Issues (20)
- Maven repository is not available HOT 8
- @PluginImplementation seems not to work on inner classes HOT 1
- JSPF should allow to inject wrappers HOT 2
- When adding plugins with classpath://* not the complete classpath is being considered. HOT 1
- JSPF should be able to load nested plugins (archives, ...) HOT 1
- ANT task to include source files for GWT HOT 1
- Is there a way JSPF can be used for GWT based projects ? HOT 1
- JSPF should inspect classpath hierarchy more intensively ...
- return Collection of added plugins from PluginManager.addPluginsFrom (instead of void) HOT 1
- Project name clash (jSPF project already exists since 2006) HOT 2
- @PluginImplementation seems not to work on inner classes on Android HOT 3
- Pseudorandom noclassdeffounderror
- CoolPluginImpl.sayHello() NullPointerException in Android project
- Upload jspf to Maven Central
- Maven support
- java.lang.VerifyError: Cannot inherit from final class
- addPluginsFrom functionality
- Git repository wrong? HOT 1
- No class def found error when load multi-depended-plugins in JARs
- Not possible to load plugin remotely through a proxy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jspf.