Re: Why do threads take so long to wake up underlinux

2002-02-23 Thread John D. Mitchell
> "Uncle" == Uncle George <[EMAIL PROTECTED]> writes: [...] > I think that you will notice 1000hz on a 75mhz machine. Its probably less > noticeable on a newer 1gHZ machine. So I suppose this depends on the > evolutionary point of processors that you want to try this on. > Maybe Linux needs a

Re: Using this() in constructors

2002-01-10 Thread John D. Mitchell
> "Vladimir" == Vladimir G Ivanovic <[EMAIL PROTECTED]> writes: [...] > An alternative is to use factories. Joshua Bloch has a write-up of the > benefits (and the costs) in his excellent adventure, "Effective Java" > (pp. 5-9). W.r.t. this thread, that's just another way to homogenize the sig

Using this() in constructors

2002-01-09 Thread John D. Mitchell
> "Jim" == Jim Hazen <[EMAIL PROTECTED]> writes: [...] > In any case, the compiler (Blackdown 1.3.1 FCS) then returned with an > error saying that the call to 'this' must be the first statement in the > constructor (apparently the 'try' is now the first statement and this > isn't allowed). >

Using this() in constructors

2002-01-09 Thread John D. Mitchell
> "Jim" == Jim Hazen <[EMAIL PROTECTED]> writes: [...] > In any case, the compiler (Blackdown 1.3.1 FCS) then returned with an > error saying that the call to 'this' must be the first statement in the > constructor (apparently the 'try' is now the first statement and this > isn't allowed). >

Re: Object sizes

2001-05-28 Thread John D. Mitchell
> "Nathan" == Nathan Meyers <[EMAIL PROTECTED]> writes: [...] > The info from ps will be useless, but you can get a ballpark figure by > computing Runtime.totalMemory() - Runtime.freeMemory() (calling > Runtime.gc() before the computation should prevent dead objects from > skewing the statisti

Re: Object sizes

2001-05-28 Thread John D. Mitchell
> "Miloslaw" == Miloslaw Smyk <[EMAIL PROTECTED]> writes: [...] > But I meant something different, forgive me for phrasing it poorly. No sweat! > I have an image synthesis app that creates hundreds of thousands of > objects at the beginning, and later it only gets worse. If I knew how > much

Object sizes

2001-05-28 Thread John D. Mitchell
> "Miloslaw" == Miloslaw Smyk <[EMAIL PROTECTED]> writes: [...] > Just a quick question: how can I calculate amount of memory that is used > by an object running under JVM on Linux? There is an answer for this question in the jGuru Java Language FAQ: http://www.jGuru.com/faq/JavaLanguage Go

Java Community Process (JCP) Survey

2001-03-14 Thread John D. Mitchell
Let Sun know how you feel about their Java Community Process: http://208.29.156.209/surveys_0/sun200/welcome.htm Also, I'm writing an article about this so feel free to share your thoughts and opinions on the JCP with me. I only quote people who explicitely give me permission to do so,

Re: server sees no body when doing HTTP POST

2001-01-29 Thread John D. Mitchell
> "Steinar" == Steinar Bang <[EMAIL PROTECTED]> writes: [...] > The answer is: create the BufferedReader _after_ we have finished > writing: :-) Indeed. In general, with respect to dealing with HTTP in Java, rather than reading

Re: CVS vs RCS vs ? Thanks

2000-12-07 Thread John D. Mitchell
> "jknutson" == jknutson <[EMAIL PROTECTED]> writes: [...] > I haven't put up anything because I assumed commercial products were > "right out". We use perforce (www.perforce.com) for our configuration > management. It sits on top of RCS. Not really, Perforce is a completely standalone, se

JavaOne: Linux BoF

1999-06-14 Thread John D. Mitchell
Just a reminder folks attending JavaOne to come participate in the Linux Java BOF... JavaTM Technology on Linux BOF Tuesday - June 15th 12:15 pm - 1:15 pm The Marriott Hotel - BOF room - C3 Take care, John -- To UNSUB