Working on migrating our application to Java 7. We see runtime performance issues compiling Java 6 bytecode with Java 7. Is that expected? What are the downsides/benefits of doing that?
We have a web application that has a SOAP interface. In our regression testing we shoot SOAP messages at it and get SOAP messages back. We use Groovy to help manage this testing.
To be more explicit, we are compiling with
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
with a Java 7 SDK. Doesn't this compile java 6 byte code? (With Java 7)
Some examples of things I'm looking for
https://www.servoy.com/forum/viewtopic.php?f=6&t=19140
For our testing service we simulate users hitting our web service. Reducing the number of threads to 8 instead of 20 in our tests significantly decreased overall runtime. This was based on the HashMap article above. Can anyone else see another reason that there would be decreased performance with multithreading? In java 6, we ran with 20 threads and it was faster.