Summary: | sun.java2d.noddraw flag is missing in jmeter.bat and jmeterw.bat | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Matthias Kerkhoff <make> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | Nightly (Please specify date) | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP |
Description
Matthias Kerkhoff
2004-12-01 10:34:47 UTC
Thanks! Do you happen to know if this flag would help on other OSes? i.e. should it also be added to the Un*x shell script(s)? I don't think that sun.java2d.noddraw makes sense on non-windows platforms but I'm not absolutly sure. The setting is DirectDraw related, so it should usually have no effect on other platforms. Thanks! BTW, as a work-round until the batch file is updated, one can define additional JVM arguments as follows: set JVM_ARGS=-Dsun.java2d.noddraw=true This will be picked up by the jmeter[w] .bat files Google finds a few pages that suggest this as a work-round for problems with remote access applications such as pcAnywhere. However, these also say that setting the property may slow down the application when used locally. I've tried the setting on WinNT and WinXP, and it does not seem to make a noticeable difference. Eventually, this depends on the resolution of your graphics card or the model. I'm see significant differences at 1280x1024 and 1600x1200 with a Matrax P650. Found http://java.sun.com/products/java-media/2D/perf_graphics.html which explains this and other settings. Since they may not improve matters on all systems, I'm going to add them but commented out. This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1476 |