Yeah, grep is part of Cygwin. I think it is unfair that run.sh has the -server option enabled (if we have a Sun JVM), and that the run.bat uses the Hotspot Client JVM by default (again, if we are using the Sun JVM).
The Hotspot Server JVM should be A LOT FASTER than the Client one. * From Sun's docs at http://java.sun.com/j2se/1.4.1/docs/guide/vm/index.html : "Java HotSpot Server VM: The Java HotSpot Server VM is designed for maximum program execution speed for applications running in a server environment. The Java HotSpot Server VM is invoked by using the -server command-line option when launching an application." JBoss would perform better and _faster_, by just adding one parameter in the run.bat file. We must find a way to enable that option by default... Ricardo Argüello ----- Original Message ----- From: "Hunter Hillegas" <[EMAIL PROTECTED]> To: "JBoss Dev" <[EMAIL PROTECTED]> Sent: Tuesday, March 25, 2003 11:22 PM Subject: Re: [JBoss-dev] Looking to do 3.2.0 final next this weekend No clue. I'm a *nix guy. Is grep part of Cygwin? > From: Ricardo Argüello <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Tue, 25 Mar 2003 22:34:51 -0500 > To: <[EMAIL PROTECTED]> > Subject: Re: [JBoss-dev] Looking to do 3.2.0 final next this weekend > > In run.sh the output of the "java" command is grepped for the "Hotspot" > string, to determine if we have a Sun JVM. > > I'm not a "batch expert". How do you do something like that in a .bat file? > > Ricardo Argüello > > ----- Original Message ----- > From: "Hunter Hillegas" <[EMAIL PROTECTED]> > To: "JBoss Dev" <[EMAIL PROTECTED]> > Sent: Tuesday, March 25, 2003 3:17 PM > Subject: Re: [JBoss-dev] Looking to do 3.2.0 final next this weekend > > > Just a thought... > > AFAIK, the -server flag is not required to be supported by all VMs, and at > one point the OS X VM didn't support it (it does now)... Obviously run.bat > is for Windows but logic to detect if -server is supported might be a good > thing in case certain VMs don¹t include it. > >> From: Ricardo Argüello <[EMAIL PROTECTED]> >> Reply-To: [EMAIL PROTECTED] >> Date: Tue, 25 Mar 2003 14:32:50 -0500 >> To: <[EMAIL PROTECTED]> >> Subject: Re: [JBoss-dev] Looking to do 3.2.0 final next this weekend >> >> Hi, >> >> Do you think that adding the "-server" flag to the bin\run.bat file would be >> a >> good idea for the 3.2 release? >> >> The Hotspot Server VM is used in run.sh, but not in run.bat actually >> ("-server" is added as a parameter to the $JAVA_HOME/bin/java invocation). >> >> The Hotspot Server VM should perform A LOT better than the Client one (that >> one is used if no -server parameter is added to the java.exe command). >> >> As I said in one previous message, run.sh is already using that VM, why >> shouldn't we add that option to run.bat? I don't think it would be a problem, >> now that we are releasing 3.2, do you? >> >> Please read the message I sent the other day about that change in HEAD, and >> if >> you find it appropiate, I'll backport it to the 3.2 branch. >> >> Please let me know what do you think about that change. >> >> Thanks in advance, >> >> Ricardo Arguello >> >> ----- Original Message ----- >> From: "Scott M Stark" <[EMAIL PROTECTED]> >> To: <[EMAIL PROTECTED]> >> Sent: Monday, March 24, 2003 7:12 PM >> Subject: [JBoss-dev] Looking to do 3.2.0 final next this weekend >> >> >>> I'm looking to do the 3.2.0 final release this weekend so please try to >>> clean >>> up any outstanding bugs in your areas by then. I'll start putting the >>> release >>> together on the 30th and finalize it something on the 31st barring any >>> major problems. >>> >>> xxxxxxxxxxxxxxxxxxxxxxxx >>> Scott Stark >>> Chief Technology Officer >>> JBoss Group, LLC >>> xxxxxxxxxxxxxxxxxxxxxxxx >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by: >>> The Definitive IT and Networking Event. Be There! >>> NetWorld+Interop Las Vegas 2003 -- Register today! >>> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en >>> _______________________________________________ >>> Jboss-development mailing list >>> [EMAIL PROTECTED] >>> https://lists.sourceforge.net/lists/listinfo/jboss-development >>> >>> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: >> The Definitive IT and Networking Event. Be There! >> NetWorld+Interop Las Vegas 2003 -- Register today! >> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en >> _______________________________________________ >> Jboss-development mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > ------------------------------------------------------- > This SF.net email is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development