Re: [rant] Memory options in VM -- why is the default not 'unlimited'

2006-07-30 Thread Florian Weimer
* Xiao-Feng Li: > 1. the GC design usually hopes to have continuous memory space. The > dynamic heap increase and decrease may have difficulty to interact > with OS so as to keep the GC heap continuous. At least on Linux, you can mmap with PROT_NONE to reserve an address range, and later populate

Re: RI's bug of Socket.getOutputStream().write(byte[]) ?

2006-07-15 Thread Florian Weimer
* Tim Ellison: >> Hmm, I think I was wrong. The scenario I had on mind can only occur >> if the client also sends some data which is still in transit when the >> server closes the connection. In this case, the server sends an RST >> when that data arrives, and some clients discard all pending th

Re: RI's bug of Socket.getOutputStream().write(byte[]) ?

2006-06-25 Thread Florian Weimer
* Tim Ellison: > Thanks Florian, I need to go back and read Steven's more closely ;-) . > I have no doubt you are correct, but have never seen a close overtake > the data -- we should of course do it right. Hmm, I think I was wrong. The scenario I had on mind can only occur if the client also se

Re: RI's bug of Socket.getOutputStream().write(byte[]) ?

2006-06-23 Thread Florian Weimer
* Tim Ellison: > Maybe I'm misunderstanding the flow of the test here. > > here's how I read it... > > Server SideClient Side > ------ > 'server' listens on 1234 >'channel' connects > 'server' accepts > 'out' s

Re: So today Sun announced...

2006-05-17 Thread Florian Weimer
* Fernando Cassia: > On 5/17/06, Florian Weimer <[EMAIL PROTECTED]> wrote: >> >> >> It's still a very strange license with a lot of oddities. For >> example, it does not allow end users to use Debian's versions for >> cross-platform development

Re: So today Sun announced...

2006-05-17 Thread Florian Weimer
* Geir Magnusson, Jr.: > First, they announced some kind of distribution-like agreement with > Ubuntu, so that any Debian-based distro can easily install Java. It > wasn't clear if they really are going to distribute Ubuntu w/ Java or > just make it easy to install via apt. Currently, it seems t

Re: C compilers comparison: MSVC vs GCC vs DevCpp

2005-10-18 Thread Florian Weimer
* Enrico Migliore: > the code is a simple function that gets called 3 times. There's an explicit check in GCC that prevents the removal of empty loops (because they are sometimes used for their timing effect on embedded targets, IIRC). Therefore, your test is bogus.

Re: RT: Escape analysis

2005-10-03 Thread Florian Weimer
> http://www-128.ibm.com/developerworks/java/library/j-jtp09275.html - Yummy. Soot and JCVM already implement this as well, IIRC. The problems Tim mentioned are addressed by JCVM by relying on inlining to expose stack allocation opportunities.

Re: Security

2005-07-04 Thread Florian Weimer
* Joel Neely: > Typed, constrained object references vs. untyped, unconstrained > pointers. Yes, but at some point in the compilation process, you have to flatten "safe" object references to "unsafe" machine addresses. You can defer this to the last instant with typed assembly language, but I do

Re: Security

2005-07-04 Thread Florian Weimer
* Ben Laurie: > So, it seems to me that when you say its easier to write secure code in > Java than C what you really mean is that its easier to write code free > of buffer overflows in Java than C. > > I can't think of _any_ other interesting security properties that Java > has and C lacks. Am

Re: svn commit: r190482 [3/4] - in /incubator/harmony: enhanced/ standard/ standard/site/ standard/site/docs/ standard/site/docs/images/ standard/site/lib/ standard/site/xdocs/ standard/site/xdocs/ima

2005-06-14 Thread Florian Weimer
> --- incubator/harmony/standard/site/velocity.log (added) > +++ incubator/harmony/standard/site/velocity.log Mon Jun 13 11:53:48 2005 > @@ -0,0 +1,230 @@ > +Mon Jun 13 14:52:06 EDT 2005 [debug] AvalonLogSystem initialized using > logfile 'velocity.log' > +Mon Jun 13 14:52:06 EDT 2005 [info] >