This discussion is archived
1 Reply Latest reply: Jul 25, 2013 9:08 PM by e7f2f9f1-7914-4e79-875f-968ed39bc337 RSS

Awt graphics in Oracle JVM performance

e7f2f9f1-7914-4e79-875f-968ed39bc337 Newbie
Currently Being Moderated

I am trying to create Java class in Oracle 11g drawing binary data passed as BLOB with awt graphics. The class loaded as a Java source

> create or replace and compile java source...

successfully. When I tried to run it I faced with terrible performace. It works but ~25 times slower than same code on my PC. When I tried to catch the bottleneck I got that all data convertation and math operations proceed in almost same time as local runned but the drawing procedures such as g.drawLine(x, y, x, y)have going much slower (up to 5 seconds per pixel). I presume it can be fixed with setting right compiler options and recompiling class but I have no ideas what needs to be changed.

Thanks in advance.

Pavel.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points