Re: JDK1.2 size question

1999-03-06 Thread Steve Byrne
Anand Palaniswamy writes: > [EMAIL PROTECTED] (Joseph H. Buehler) writes: > > > [EMAIL PROTECTED] (Anand Palaniswamy) writes: > > > > > Another bad side effect of this limitation is that the famous "return > > > memory to OS" bug can not be implemented on Linux (ie, there is no > > > heap

New kernel

1999-03-06 Thread Steve Byrne
Jens M Andreasen writes: > Alan Cox has put out a new kernel to solve the multicast issue > > ftp://ftp.uk.linux.org/pub/linux/alan/2.0.37pre/2.0.37-pre-patch-8.bz2 It solves one problem, but seems to uncover some others. I'm going to do a closer analysis of what's going on, but now tha

New kernel

1999-03-06 Thread Jens M Andreasen
Alan Cox has put out a new kernel to solve the multicast issue ftp://ftp.uk.linux.org/pub/linux/alan/2.0.37pre/2.0.37-pre-patch-8.bz2 ( ) --c[]--- [EMAIL PROTECTED] ---C---

Re: JDK1.2 size question

1999-03-06 Thread Nathan Meyers
Anand Palaniswamy wrote: > > Peter Schuller <[EMAIL PROTECTED]> writes: > > > > The reason for this is that the default -Xmx value is 64MB. > > > > But that's the *maximum* heap size; why does JDK 2.0 consume, in one > > particular case, 50 megs of RAM when JDK 1.1 consumed 15 megs, just > > bec

Re: JDK1.2 size question

1999-03-06 Thread Anand Palaniswamy
[EMAIL PROTECTED] (Joseph H. Buehler) writes: > [EMAIL PROTECTED] (Anand Palaniswamy) writes: > > > Another bad side effect of this limitation is that the famous "return > > memory to OS" bug can not be implemented on Linux (ie, there is no > > heap "shrinking"). > > Are you sure about that? I

Re: examples of creating a new object in jni?

1999-03-06 Thread Juergen Kreileder
> Daniel Dulitz writes: Daniel> Kevin White writes: >> I am having a tough time piecing together the (lack of) >> documentation on using native code to actually allocate (and >> call the constructor of) a new object. Can someone please >> point me to an example? I have a

Re: JDK1.2 size question

1999-03-06 Thread Joseph H. Buehler
[EMAIL PROTECTED] (Anand Palaniswamy) writes: > Another bad side effect of this limitation is that the famous "return > memory to OS" bug can not be implemented on Linux (ie, there is no > heap "shrinking"). Are you sure about that? I use GNU emacs a lot and just tried an experiment on a machin

Re: JDK1.2 size question

1999-03-06 Thread Anand Palaniswamy
Peter Schuller <[EMAIL PROTECTED]> writes: > > The reason for this is that the default -Xmx value is 64MB. > > But that's the *maximum* heap size; why does JDK 2.0 consume, in one > particular case, 50 megs of RAM when JDK 1.1 consumed 15 megs, just > because the *maximum* heap size is higher?

Re: examples of creating a new object in jni?

1999-03-06 Thread Daniel Dulitz
Kevin White writes: > I am having a tough time piecing together the (lack of) documentation on > using native code to actually allocate (and call the constructor of) a > new object. Can someone please point me to an example? I have a java > class that needs to be constructed by some native code.

Re: open, read, ioctl calls in java?

1999-03-06 Thread Daniel Dulitz
Kevin White writes: > I am working on a java wrapper for a linux library that uses files to > open(), read(), and issue ioctl() calls to a device. I assume I can > open() and read() the device file as I would any standard file in java. Yes. Be careful not to use Buffered{Input,Output}Stream wi

Re: JDK1.2 size question

1999-03-06 Thread Peter Schuller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > The reason for this is that the default -Xmx value is 64MB. But that's the *maximum* heap size; why does JDK 2.0 consume, in one particular case, 50 megs of RAM when JDK 1.1 consumed 15 megs, just because the *maximum* heap size is higher? Does th

NATIVE CODE

1999-03-06 Thread Dinesh D
Dear sir, I use linux OS. I want to include a "C" function for writing into sound card in a real-time application using the "JNI". I wrote the "C" function and created the corresponding header files. When I try to compile the "C" file, it gives an error message saying that the header file "jn

examples of creating a new object in jni?

1999-03-06 Thread Kevin White
I am having a tough time piecing together the (lack of) documentation on using native code to actually allocate (and call the constructor of) a new object. Can someone please point me to an example? I have a java class that needs to be constructed by some native code. It will take 4 parameters

Re: terrible fonts in linux-jdk1.2

1999-03-06 Thread Kazuo Oishi
Louis-David Mitterrand <[EMAIL PROTECTED]> writes: > Has anyone else noticed the fonts (or lack thereof) in Linux-jdk1.2? > Everything seems to be in "lucida" or is it just me? In my environment, java or appletviewer warns lack of font and sometimes go crash. % java test Font specified in font