Jasper report generation taking more time on openjdk compare to oracle jdk

0

Hi,

We have recently moved from oracle jdk 6 to open jdk 7. And we have observed generating pdf using jasper taking long time on openjdk compare to oracle jdk.

we are using jasperreports-javaslow-3.7.6.jar library. 

Is anybody having same issue? Any suggestions please.

Below is the time taken by report on openjdk7. (first column is time taken in seconds)

Jasper report on Oracle jdk (first column is time taken in secs)

Below is the time taken by report on oracle jdk6.(first column is time taken in seconds)

Thanks

Chandra

chandu2k2004's picture
Joined: Sep 24 2015 - 6:39pm
Last seen: 1 month 3 weeks ago

3 Answers:

0

What should be a "jasperreports-javaslow-3.7.6.jar" ????

Is this just a rename of the orginal jasperReports library 3.7.6 by JasperSoft vendor because it's slow performance or is it a customized version of the library by someone else with changed code?!?

regards 

C-Box

C-Box's picture
1741
Joined: Jul 19 2006 - 5:58pm
Last seen: 7 hours 59 min ago
0

Hi, It looks like build by Jaspersoft. See below.

Is it cause slow performace? Do i need to upgrade? Please suggest.  I see original jasperreport library it is also build by jaspersoft. 

jasperreports-javaflow-3.7.6.jar (I am using) - https://sourceforge.net/projects/jasperreports/files/archive/jasperreports/JasperReports%203.7.6/

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 17.1-b03 (Sun Microsystems Inc.)
Built-By: Jaspersoft

Name: net/sf/jasperreports/engine/
Specification-Title: JasperReports Library
Specification-Version: 3.7.6
Specification-Vendor: Jaspersoft
Implementation-Title: net.sf.jasperreports.engine
Implementation-Version: 3.7.6
Implementation-Vendor: Jaspersoft

jasperreports-3.7.6.jar (https://mvnrepository.com/artifact/net.sf.jasperreports/jasperreports/3.7.6)

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Build-Jdk: 1.6.0_22
Built-By: Jaspersoft

Name: net/sf/jasperreports/engine/
Implementation-Title: net.sf.jasperreports.engine
Implementation-Vendor: Jaspersoft
Implementation-Version: 3.7.6
Specification-Title: JasperReports Library
Specification-Vendor: Jaspersoft
Specification-Version: 3.7.6
 

Thanks

Chandra

chandu2k2004's picture
Joined: Sep 24 2015 - 6:39pm
Last seen: 1 month 3 weeks ago
0

Okay  it was just a spelling error in your initial post... "jasperreports-javaflow-3.7.6.jar" ... :-)

So this is a version of the library that doesn't use Threads for rendering SubReports.... this is important for EJB application server usage, as be definition the application should not start new threads by itself within a deployed EJP context. (so just as far as I know, we used that version in JBoss 4.x some years ago, but we did not have any performance issues with that, but also used normal oracle java versions)

But I doubt, that this is the cause of your slowness.... updating to a newer version of JasperReport could help... just give it a try. 3.7.6 is a bit very old fashioned. 

Why do you switch to Open JDK7 actually?

hth + regards

C-Box

C-Box's picture
1741
Joined: Jul 19 2006 - 5:58pm
Last seen: 7 hours 59 min ago
Feedback