achuanle / umlet

Automatically exported from code.google.com/p/umlet
0 stars 0 forks source link

Umlet very slow on java 8 #177

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
With the new instalation of java(jdk 8), and with show grid option turned on 
application is painfuly slow. Typing text lags a lot, and entire application 
turn almost imposible to use. Retrieving java to jdk1.7.0_51 removes this. 

Operating system is Ubuntu Linux 12.04 x64.

Original issue reported on code.google.com by cvetan.s...@gmail.com on 13 Apr 2014 at 2:55

GoogleCodeExporter commented 9 years ago
hi

I just tried to reproduce the problem on Windows7 Java8 (32 and 64 bit) and it 
runs at the same speed as with Java7

I leave this issue open and we will see if other people have similar problems, 
but for now I guess it's nothing we can handle in our program code (we just use 
default Swing) and perhaps it will be fixed with a new minor version of Java8.

Original comment by AFDiaX on 13 Apr 2014 at 2:15

GoogleCodeExporter commented 9 years ago

Original comment by AFDiaX on 7 Nov 2014 at 8:37

GoogleCodeExporter commented 9 years ago
I have the same (or at least similar) problem here on Fedora 20 with OracleJDK 
8.

When starting UMLet it takes about 30 seconds until UMLet has finalized drawing 
the GUI for the first time. While doing so the zoom level in the menu bar 
changes multiple times.

When activating the Java2D tracing (-D.sun.java2d.trace=log) one can see that 
the application hangs several times at a blit operation

sun.java2d.loops.Blit::Blit(IntArgb, SrcNoEa, IntArgbPre)

The same problem arises again when I save the document, load a new document or 
the application window gets focus back from another application. This makes 
working with UMLet very tiresome.

I guess the problem might be a combination of Bugs in Java2D, the Graphics Card 
Driver (radeon on an AMD HD7700), large screen resolution (2560x1440 px) and 
UMLet redrawing its UI more often that it had to.

Original comment by andreas....@googlemail.com on 8 Nov 2014 at 10:56

GoogleCodeExporter commented 9 years ago
Then our graphics are the problem. I have Radeon HD 6450. :(

Original comment by cvetan.s...@gmail.com on 8 Nov 2014 at 10:58

GoogleCodeExporter commented 9 years ago
You're right that UMLet is redrawing the UI quite often because it's usually 
cheap.

It's unfortunate that there seems to be problems with the linux graphics card 
driver and java 8, but it seems like there is nothing we could fix in our code.

Hopefully they will patch the driver or java soon to fix the issue.
Perhaps you should try using our web based version http://umletino.com/ in the 
meantime.
It should work without issues because it runs in your browser without 
HW-acceleration.

Original comment by AFDiaX on 8 Nov 2014 at 11:16

GoogleCodeExporter commented 9 years ago
Thank you for the fast response. I agree that you probably can't do very much 
about this problem.

UMLet runs just fine on my notebook with Intel graphics and I really like its 
intuitive and minimalistic design, so lets hope this issue will eventually be 
resolved in the next few years. Yet for now I guess I have to stick to the 
limited UML capabilities of Dia.

Original comment by andreas....@googlemail.com on 9 Nov 2014 at 1:21

GoogleCodeExporter commented 9 years ago
Have you tried the mentioned web-version?
It is 100% JavaScript which runs in your browser and you can export and import 
uxf files from/to the standalone version.

It's a new project and we have found some minor 
bugs(https://code.google.com/p/umlet/issues/list?can=1&q=UMLet%3D13.1+Runtime%3D
Web) but the user interface is nearly the same as in the standalone version so 
if you like it, you should give it a try ;)

Original comment by AFDiaX on 9 Nov 2014 at 7:37

GoogleCodeExporter commented 9 years ago
Well, I tried it but due to this bug

https://code.google.com/p/umlet/issues/detail?id=211

it is not really usable either.

Anyhow, thank you for your efforts and for this (except for my somehow cursed 
setup) nice piece of software!

Original comment by andreas....@googlemail.com on 9 Nov 2014 at 9:55