Discussions

Performance and scalability: Difference of JDK version between sharing and non-sharing?

  1. Hi, Here, I got two version of JDK 1.6 as below: Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode) Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing) What's the difference between them? Where can I download the non-sharing one?(actually, the non-sharing version now I got, is somebody gave me, he can't remember where he got it) I know the sharing version can speed up the loading process, but the problem I met has nothing concerning about this. My application is to read data from some xml files, and to import them into database. But the performance of using these two version of JDK is so different. Using the non-sharing version could be pretty much 10 times faster than the sharing one. Even if I turn off the switch of sharing by using -Xshare:off, I still couldn't get help. Someone cool guy can help me here? Thanks!
  2. I have the same question.