Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6471009
Votes 0
Synopsis Significantly higher CPU usage in jvm1.6 build 97/98 vs jvm1.5.0_06-b05 on DOTS ATCJ2 test
Category hotspot:compiler2
Reported Against
Release Fixed hs11(b06), 6u10(b09) (Bug ID:2152719) , 7(b20) (Bug ID:2177027)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 4850474 , 6602813 , 6610906 , 6646599 , 6653858 , 6763424
Submit Date 14-SEP-2006
Description
We are seeing much higher CPU usage on JVM 1.6 than on JVM 1.5 when
running the "DOTS ATCJ2" test on a large Derby / Java DB database.

The test has previously been run with jvm1.5.0_06-b05 on Solaris 10 1/06
s10x_u1wos_19a X86 - SunOS 5.10 Generic_118844-26.
Increased CPU usage is seen with jvm1.6.0-rc-b97 and b98.


The size of the database is ~342GB (du -h: 342G   TESTDB/seg0).
(# tuples in ATCJ2 tables: BID: 3.4 mill., ITEM: 600 mill., REGISTRY:
417 mill.)


--------
* DOTS: see http://ltp.sourceforge.net/dotshowto.php ,
http://db. customer .org/derby/integrate/DOTS_Derby.htm ,
http://db. customer .org/derby/binaries/UsingDotsDerbySystemTest.pdf .
We have adapted DOTS to also run on other OS's than Linux.
Posted Date : 2006-09-14 22:21:26.0
Work Around
Force using 'Client VM' ('java -client ....') on 'server hw'!
(1.6.0_01-b06 and 1.6.0_02-b05)
Evaluation
Looks like a scalability problem with the nmethod dependency tracker.
Posted Date : 2006-10-18 22:24:50.0

There is still an architectural scalability problem, in that the application uses thousands of small throw-away classes, one per SQL query.  It should use anonymous classes.  The MLVM functionality should be ported into hotspot and used by derby as an implementation private interface.

http://blogs.sun.com/jrose/entry/anonymous_classes_in_the_vm

http://openjdk.java.net/projects/mlvm/subprojects.html#AnonymousClasses
Posted Date : 2008-04-23 21:39:23.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang