Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Machine > Re: JVM vs .NET
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 791 of 814
Post > Topic >>

Re: JVM vs .NET

by efriedNoSpam@[EMAIL PROTECTED] (EricF) Oct 7, 2007 at 04:34 AM

In article <13ge8avfl581jd5@[EMAIL PROTECTED]
>, Jon Harrop
<jon@[EMAIL PROTECTED]
> wrote:
>
>I'm relatively new to both the JVM and .NET and am learning Scala and F#.
I
>was under the impression that .NET was essentially a later and greater
>reimplementation of the JVM in a Windows-specific form. However, I've
just
>discovered some nasty caveats in .NET.
>
>Specifically, if you generate and use regular expressions the obvious way
>then .NET leaks memory because it performs run-time compilation to
improve
>performance but fails to garbage collect the generated code when it is no
>longer needed. There are workarounds but I've yet to see a solution that
>can even garbage collect code under .NET properly, let alone an elegant
>solution.
>
>So I'm wondering what the JVM crowd have to say about the relative
>deficiencies of the JVM and .NET. Does the JVM garbage collect code
>correctly? Are there glaring flaws in the JVM?
>
>I'm aware of the array covariance problem in the JVM.
>
The JVM does a good job of garbage collecting, though 1 can write code
with 
memory leaks. At my previous company, our Java app servers ran 24 by 7 for
3 
months bewfore being bounced, and that was because we relased new
applications 
quarterly. This was on Solaris.

There is a 2 gig memory limit on Windows for a Java process. This is a
Windows 
constraint.

Eric
 




 6 Posts in Topic:
JVM vs .NET
Jon Harrop <jon@[EMAIL  2007-10-06 06:37:55 
Re: JVM vs .NET
efriedNoSpam@[EMAIL PROTE  2007-10-07 04:34:25 
Re: JVM vs .NET
Roedy Green <see_websi  2007-10-11 01:19:36 
Re: JVM vs .NET
Roedy Green <see_websi  2007-10-11 01:18:50 
Re: JVM vs .NET
Gordon Beaton <n.o.t@[  2007-10-11 16:34:56 
Re: JVM vs .NET
Nikolaus Wagner <spam_  2007-10-12 23:41:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 18 21:04:24 CDT 2008.