Getting a full JVM thread dump

1998-11-24 Thread B. Craig Taverner
Hi, Does anyone know how to get a full JVM thread dump under linux? Under windows you just do a ctrl-break. I remember reading about some signal, and/or keystroke that could do it. Cheers, Craig -- "Leibowitz's Rule: When hammering a nail, you will never hit your finger if you ho

Re: fast multiple object creation ... can it be done!

1998-09-30 Thread B. Craig Taverner
> > Does anyone know of a good way to solve this problem? Any suggestions > > around the issue of object creation performance are welcome. > > One way to handle this problem would be to create an Object pool. > There was an article on javaworld (www.javaworld.com) a few months > back. Basically

fast multiple object creation ... can it be done!

1998-09-28 Thread B. Craig Taverner
Hi, I'm dealing with a performance issue in java where it appears that performance is noticably affected by the fact that many (thousands) of relatively small objects need to be created very quickly (multiple small memory allocations). From my C/C++ background I would have considered solving this

swing JDeskTop

1998-07-20 Thread B. Craig Taverner
Hi all, I know this is not a pure linux/java question, but does anyone know how to create 'dockable' internal frames with swing. ie. frames that can be attached to the sides of teh JDesktop. I've considered extending DesktopManager, but it loks like I might get into some heavy L&F trouble then.

java map engines

1998-07-09 Thread B. Craig Taverner
Hi, Does anyone know of any java based generic map toolkits written in pure java (so I can run on linux, solaris and win32)? Something that will allow me to easily add a map (vector &| bitmap) into my applications with the ability to place custom objects/components on the map. I've not looked to

Re: Trying to use LessTif with jdk1.1.6-v2

1998-07-09 Thread B. Craig Taverner
> You have to rebuild JDK with LessTif. Attempts to run JDK binaries linked with > Motif against LessTif result in cores. I tried it myself. Is it not possible for blackdown to distribute a lesstif version of the jdk? I for one would be interested to try it out, particularly for the dynamic libr

RE: javah generating wierd stubs '0005f' - Solved!

1998-06-26 Thread B. Craig Taverner
> I had the same problem when I decided to put my classes into a package > with a name containing an underscore (com.origin_it.) > 0005f is probably either the unicode or ascii code for the underscore. > IU asked a question to the guys at JavaSoft if this is normal behaviour > or not, but I

javah generating wierd stubs '0005f'

1998-06-25 Thread B. Craig Taverner
Hi, Has anyone seen this strange problem? Happening under both solaris jdk1.1.6 and linux jdk1.1.3. For a class named package.Name javah is generating stubs named package_0005fName.c and package_0005fName.h What do these '0005f' strings mean? The strangest thing is this is happening for only t

Re: Survey, what tool do you use?

1998-06-19 Thread B. Craig Taverner
> > Xemacs: 6 > > Pico: 3 > > vi: 2 > > JDE: 2 > > Jacob: 2 > > Emacs: 2 > > WipeOut: 1 > > Simplicity: 1 > > Cat (!?) : 1 I see no 'joe'. Add one for me. Cheers, Craig -- Lots of folks confuse bad management with destiny. -- Frank Hubbard =

Re: Need a Java/Linux RedHat 5.0 configuration where getLocalHost works

1998-06-17 Thread B. Craig Taverner
> > System.out.println(java.net.InetAddress.getLocalHost()); > It works fine for me: RedHat 5.0 and jdk1.1.6-v1 (sbb). Make sure you Also works for me: Debian1.3.1, libc5.4.33 (no glibc), kernel2.0.33, jdk1.1.3. Could it be a glibc bug? Cheers, Craig -- The sooner you fall behind, t

Re: can't execute java or other utils

1998-06-05 Thread B. Craig Taverner
> explicitly specified the file (i.e. "./java"). I always get "command > not found". This can also happen if the '#!' line at the beginning of the script (java is a script) can not be found. My java has #!/bin/sh which should definitely be in the path on any linux machine, but perhaps your scri

Re: im sure this question has been asked before but...

1998-05-28 Thread B. Craig Taverner
> With the current linux trend steering towards Gnome/GTK , it would be really > fantastic for there to be an AWT implementation in GTK. Some ppl mentioned > earlier about implementing GTL l&f in swing, but this would remove that > necessity and also provide a very significant speed increase. The

Re: Major Swing/Linux Project?

1998-05-28 Thread B. Craig Taverner
On Wed, 27 May 1998, Aaron Walker wrote: > I don't know about the rest of ya, but I like the Swing GUI. I was > thinking why can't we make a suite of Linux tools in Swing. Such as a > window manager (if it's possible), a file manager, control-panel, etc. > I'm already working on a file manager c

Re: building shared libraries for native

1998-05-26 Thread B. Craig Taverner
>in ".o". Example:gcc -fPIC -c -I file1.c -o Based solely on looking at other peoples makefiles and code, I've been using -fpic under linux and -fPIC under solaris. The gcc man pages say the following: -fpic If supported for the target machines, generate po sitio

Re: Passing classes as parameters

1998-05-26 Thread B. Craig Taverner
> Does anyone has experience in passing a class as a parameter in java? > I want to do something like call a method with as parameter a class name and > then create instances of that class in that method. Is this possible? try this: public Object makeInstance(String sClassName) { Class rC

java SEGV under solaris/NT, not linux?

1998-05-22 Thread B. Craig Taverner
Hi, I've got a really inexplicable problem with a java application I've been developing under linux, but wish to run under linux, solaris and NT. My systems are: linux(debian1.3.1/kernel2.0.33/libc5.4.33) jdk1.1.3/gcc2.7.2.1 Solaris2.5.1/ultrasparcjdk1.1.5/gcc2.7.2.