1 Reply Latest reply on Jul 26, 2013 4:08 AM by 1025740

    Awt graphics in Oracle JVM performance


      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.