[jboss-cvs] JBossAS SVN: r89250 - branches/JBPAPP_4_2_0_GA_CP/system/src/bin.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu May 21 09:39:35 EDT 2009


Author: permaine
Date: 2009-05-21 09:39:35 -0400 (Thu, 21 May 2009)
New Revision: 89250

Modified:
   branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.bat
Log:
JBPAPP-2019 sun.lang.ClassLoader.allowArraySyntax should be set to true in run.bat to avoid deserialization bottleneck in arrays for JDK 1.6

Modified: branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.bat
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.bat	2009-05-21 12:52:11 UTC (rev 89249)
+++ branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.bat	2009-05-21 13:39:35 UTC (rev 89250)
@@ -75,6 +75,9 @@
 rem With Sun JVMs reduce the RMI GCs to once per hour
 set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
 
+rem Set sun.lang.ClassLoader.allowArraySyntax to true to avoid deserialization bottleneck in arrays for JDK 1.6
+set JAVA_OPTS=%JAVA_OPTS% -Dsun.lang.ClassLoader.allowArraySyntax=true
+
 rem JPDA options. Uncomment and modify as appropriate to enable remote debugging.
 rem set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%
 




More information about the jboss-cvs-commits mailing list