Re: Runtime.traceMethodCalls()

1999-10-19 Thread Antonio Moretti

UNSUBSCRIBE


    ##  
# #  # ###  ###  
   #   #  #   ##
  ##   ##  #  ## ###  ###00 000  0     000
  ##   ##  #   #  ##   ###  ### 0 0 0  0   00  00
  ##  ###  ##  #  ##   ###  ###0oo0 000000000
  ##  # #  ## ##   ###  ###   0   0 0 000 
  ##  # #  ## ##   ###  ###  00 0  0   0   00
###
### LA MUSICA CHIAMA GLI ARTISTI ! 
###



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Several VM ?

1999-10-19 Thread Kontorotsui


On 18-Oct-99 Artur Biesiadowski wrote:
> Every thread looks like process to ps. So you get as many entries as there
> are native threads. Fortunately memory is shared, so you
> should count only one resident/shared number.

But is there a way to see when it is a thread and when it is a process? Or the
only way is to notice it has the same resident/shared memory?

---
Andrea "Kontorotsui" Controzzi - MALE Student of Computer Science at 
University of Pisa  -  Italy  -  E-mail: [EMAIL PROTECTED]
My home page: http://www.cli.di.unipi.it/~controzz/intro.html


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: JNI link to disk space

1999-10-19 Thread Peter Pilgrim



[EMAIL PROTECTED] wrote:
> 
> Peter Pilgrim wrote:
> >
> > I am interesting in getting the disk space and partition
> > in a Java program by using JNI. What is the std UNIX API
> > call to do this? I have tried grepping the man pages
> > and got the source to kdf program but it didn't help
> > because it was executing `/usr/bin/df -k -T' and parsing
> > the output. Is there a native portable UNIX system call that
> > provides partition information and also disk space size and free
> > information?
> 
> I don't know of a standard UNIX API, and I don't think that Wintel's
> notion of partitions is particularly portable. On Linux, you can get
> some of the information you want from the /proc filesystem:
> 
> /proc/partitions gives you a lists of hard drive partitions and their
> sizes
> 
> /proc/mounts shows you what's mounted where
> 
> What you don't get from these two files is:
> 
> 1) What device is serving as your root partition (/proc/mounts calls it,
> annoyingly, /dev/root)
> 
> 2) How full the partition is
> 
> You can also get the df.c source (it's about 800 lines of open source)
> and learn about the APIs it uses (it doesn't appear to use the /proc
> filesystem). Looks like there are some interesting APIs described in
> header files named mountlist.h and fsusage.h. If you don't have a
> convenient source, I can send it to you.
> 
> You were probably hoping for a more portable answer... I'm not aware of
> one.

I had look in Advanced UNIX Environment Programming W.Richard Steven book
but could n't find anything there. I guess this is why kde utility `kdf.c' 
called the `df' command directly. These header files appear to 
linux specific. Looking on my Solaris box now I dont know of any 
equivalent ones.

The reason I want to know it would be nice to see the Volumes concepts
like the Macintosh has mounted disks, and shared volumes. Actually
I thinking of small Java and UNIX API to allow Java apps to integrate
better with the UNIX system. 

Oh Well. Can you send me the source to `df.c'anyway.

-- 

Adios
Peter

-
import std.Disclaimer;  // More Java for your Lava, Mate.
"Give the man, what he wants. £££" [on Roy Keane, Quality Player]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Several VM ?

1999-10-19 Thread Nathan Meyers

Kontorotsui wrote:
> 
> On 18-Oct-99 Artur Biesiadowski wrote:
> > Every thread looks like process to ps. So you get as many entries as there
> > are native threads. Fortunately memory is shared, so you
> > should count only one resident/shared number.
> 
> But is there a way to see when it is a thread and when it is a process? Or the
> only way is to notice it has the same resident/shared memory?

I haven't found a way. The closest thing I've found so far is to compare
the /proc//maps files, which are identical for two threads of the
same process but unlikely to be identical for different processes.

Nathan


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



JDBC newbie question

1999-10-19 Thread Jalaluddin Riaz

hi,
I am a newbie to JDBC programming and am having some problems. I am 
using mysql rdbms and mm.mysql.jdbc-1.2 driver and have jdk1.2preV2 
installed. the problem is everytime i try to run a prog. i get class not 
found exception. the prog is not able to find the driver class files. i have 
tried different CLASSPATH settings, still does no works.. any ideas.

thanks.

__
Get Your Private, Free Email at http://www.hotmail.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Sun Documentation

1999-10-19 Thread GC-Braswell, Peter


This is a really goofy question.  Has anybody out there downloaded and
installed correctly the Sun documentation for Java2?  What flavor (Solaris
or Win) have you downloaded and what install procedure have you followed?

I've tried to download the Solaris variant.  I "untar" and things look okay
from a directory standpoint but using the browser to move among the
documentation returns missing url errors in Netscape. 

Downloading the Windows version works like a charm but I hate rebooting,
looking up an API, then rebooting to Linux.

Thx,
peter


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: JNI link to disk space

1999-10-19 Thread Peter Pilgrim



[EMAIL PROTECTED] wrote:
> 
> [EMAIL PROTECTED] wrote:
> >
> > Peter Pilgrim wrote:
> > >
> > > I am interesting in getting the disk space and partition
> > > in a Java program by using JNI. What is the std UNIX API
> > > call to do this? I have tried grepping the man pages
> > > and got the source to kdf program but it didn't help
> > > because it was executing `/usr/bin/df -k -T' and parsing
> > > the output. Is there a native portable UNIX system call that
> > > provides partition information and also disk space size and free
> > > information?
> >

Well I found an Volumes API on work Solaris 2.5.1 box 
`/usr/include/sys/{mntent.h,mnttab.h}'.
There is a sys structure called `mnttab' which has function called
`getmntent( FILE *, struct mnttab *)' which you can use to
read `/etc/mnttab'.

Can't remember if such an API exists on Linux though.
If so a JNI System Volume info thing is quite doable.
As for disk space usage I 'm still looking ...

-- 

Adios
Peter

-
import std.Disclaimer;  // More Java for your Lava, Mate.
"Give the man, what he wants. £££" [on Roy Keane, Quality Player]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Fwd: Re: JNI link to disk space]

1999-10-19 Thread Peter Pilgrim



 Original Message 
Subject: Re: JNI link to disk space
Date: Tue, 19 Oct 1999 15:11:45 +0100
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]



[EMAIL PROTECTED] wrote:
>  
> [EMAIL PROTECTED] wrote:
> >
> > Peter Pilgrim wrote:
> > >
> > > I am interesting in getting the disk space and partition
> > > in a Java program by using JNI. What is the std UNIX API
> > > call to do this? I have tried grepping the man pages
> > > and got the source to kdf program but it didn't help
> > > because it was executing `/usr/bin/df -k -T' and parsing
> > > the output. Is there a native portable UNIX system call that
> > > provides partition information and also disk space size and free
> > > information?

On Solaris 2.5.1 I found `/usr/include/statfs.h'
Maybe it exists on linux too.

struct statfs {
short f_fstyp;  //FS type
long f_bsize;   // block size
long f_frsize;  // fragment size
long f_blocks;  // total number of blocks
long f_bfree;   // total numner of free blocks
..
char f_fname[6];// Volumne name 
char f_fpack[6];// Pack name
}

int statfs( const char *, struct statfs *, int, int );

--  

Adios
Peter

-
import std.Disclaimer;  // More Java for your Lava, Mate.
"Give the man, what he wants. £££" [on Roy Keane, Quality Player]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Fwd: Re: JNI link to disk space]

1999-10-19 Thread Juergen Kreileder

> Peter Pilgrim writes:

Peter> On Solaris 2.5.1 I found `/usr/include/statfs.h'
Peter> Maybe it exists on linux too.

Yes, see 'man 2 statfs'.

Peter> struct statfs {
Peter>  short f_fstyp;  //FS type
Peter>  long f_bsize;   // block size
Peter>  long f_frsize;  // fragment size
Peter>  long f_blocks;  // total number of blocks
Peter>  long f_bfree;   // total numner of free blocks
Peter>  ..
Peter>  char f_fname[6];// Volumne name 
Peter>  char f_fpack[6];// Pack name
Peter> }

Peter> int statfs( const char *, struct statfs *, int, int );


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Porting Team
http://www.blackdown.org/java-linux.html


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sun Documentation

1999-10-19 Thread Daniel P. Zepeda

I believe the download page states to use the zip version on any platform
other than Solaris. That is what I did and I've been using it without
problems for months. 

Thus spake GC-Braswell, Peter on Tue, 19 Oct 1999:
> This is a really goofy question.  Has anybody out there downloaded and
> installed correctly the Sun documentation for Java2?  What flavor (Solaris
> or Win) have you downloaded and what install procedure have you followed?
> 
> I've tried to download the Solaris variant.  I "untar" and things look okay
> from a directory standpoint but using the browser to move among the
> documentation returns missing url errors in Netscape. 
> 
> Downloading the Windows version works like a charm but I hate rebooting,
> looking up an API, then rebooting to Linux.
> 
> Thx,
> peter
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
Daniel P. Zepeda
[EMAIL PROTECTED]

"In complete darkness, we are all the same. Only our knowledge and wisdom 
separates us there." -- J. Jackson


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



password

1999-10-19 Thread Rogério Garibalde Miranda

I need to insert an user and soon later to alter its password in the linux 
using the java.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sun Documentation

1999-10-19 Thread Fathi . Djebbari



Hi,
I recall that Sun documentation etc..., uses a tar which Solaris specific (very long 
paths are supported). Using GNU tar will either not extract all the stuff or put it in 
some other directory in the path. I remember that it is documented by Sun
in the page where you found the doc.
hope it helps
fathi





"GC-Braswell, Peter" <[EMAIL PROTECTED]> on 10/19/99 03:55:42 PM
  
  
  
 To:  "'[EMAIL PROTECTED]'"   
  <[EMAIL PROTECTED]> 
  
 cc:  (bcc: Fathi FD DJEBBARI/FR/ALCATEL) 
  
  
  
 Subject: Sun Documentation   
  







This is a really goofy question.  Has anybody out there downloaded and
installed correctly the Sun documentation for Java2?  What flavor (Solaris
or Win) have you downloaded and what install procedure have you followed?

I've tried to download the Solaris variant.  I "untar" and things look okay
from a directory standpoint but using the browser to move among the
documentation returns missing url errors in Netscape.

Downloading the Windows version works like a charm but I hate rebooting,
looking up an API, then rebooting to Linux.

Thx,
peter


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Newbie: How do I get dir listings from applets?

1999-10-19 Thread Frank Lümkemann


I want to access image files contained in a directory, and I would like
to scan the whole directory. When I use the appletviewer, the following
code gives me a list of the files in the dir, but not with Netscape. I
think the security manager throws an exception, but how can I access a
directory from an applet then?
 
thank's for your help!
 
    Frank
 
  private void scan_directory() {
 
    dialog = new SimpleFileDialog(this,
"Select a file!");
    dialog.show();
    PrintWriter out = new PrintWriter(System.out,
true);
 
    try {
 
   
File dir = new File(dialog.getDirectory());
   
String str = new String(dialog.getFile());
   
char c = str.charAt(0);
 
   
setText("Directory: " + dialog.getDirectory());
 
   
for (int i = 0; i < dir.list().length; i ++) {
   
setText("File " + i +": " + dir.list()[i]);
   
}
    } catch (Exception ev) {
   
FileButton.window.dispose();
   
out.println("keine datei geladen...(EXC)!");
 
    }
    }


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Newbie: How do I get dir listings from applets?

1999-10-19 Thread Michael Sinz

On Tue, 19 Oct 1999 19:49:28 +, Frank Lümkemann wrote:

>
>
>I want to access image files contained in a directory, and I would like
>to scan the whole directory. When I use the appletviewer, the following
>code gives me a list of the files in the dir, but not with Netscape. I
>think the security manager throws an exception, but how can I access a
>directory from an applet then?

Local resources like the hard drive are not accessable from applets
without first having the applet be signed and then having it ask for
access rights and having the user grant them.

Now, you can scan the directory on your server via HTTP (or other
protocols your server may support) but you can only get back to
your own server this way (or at least you should only be able to get
back to your own server - that is part of the security)

-- 
Michael Sinz  Technology and Engineering Director/Consultant
"Starting Startups" mailto:[EMAIL PROTECTED]
My place on the web ---> http://www.users.fast.net/~michael_sinz



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Why is Linux thread locking so slow?

1999-10-19 Thread Godmar Back


 Thanks for your all your answers.  I think we got an insightful 
discussion going.  I also think we got almost everything cleared up.

Let's hope that some mainstream magazine publishes numbers that show
just how Linux is being outperformed at the pthreads level and that
that changes the attitudes of the linux kernel team.  (Which is what
happened with some Apache benchmarks, from what I can tell.)
Well, you'll still need to have a convincing implementation...


I'm still feeling a bit misunderstood on one point, though:
> 
> > However, I think the case we're looking at here may be slightly different.
> > In our case, one thread (A) is running on one CPU, and another thread (B) 
> > is running on another.  Thread A holds a lock, thread B wants to acquire it.
> > Once thread A unlocks the lock, thread B could just go ahead and run
> > on the other CPU.  In this case, *neither* CPU would have to context
> > switch.  It would simply be a system call executed on each CPU.
> 
> Assuming B doesn't do busy-waiting, if it finds the mutex locked by A,
> it has no choice but to suspend and presumably the kernel will then
> switch context to another runnable process.  Later, A unlocks the
> mutex, and seeing that B is waiting on it, will restart B.
> 

You say that the kernel will then "switch context to another runnable
process".  My argument was considering the case that there is
*no other runnable* process in the system (i.e., 2 processors, 2 runnable 
threads)-- and that the second CPU will therefore go idle until it is
resumed by the first CPU via IPI.  My question was whether *this* case is
still as expensive as a context switch.  


Secondly, Jeff had commented that the Netscape NPSR people did
implement some kind of two-level scheduling.  I had always thought
that this would require kernel support.  For instance, on Solaris,
the kernel uses SIGLWP to inform the user-level scheduler when it has
run out of LWPs and needs to create new ones.  If you don't have
SIGLWP, you can't use native I/O (i.e., read(2) etc. on blocking
filedescriptors)---how does netscape do it?

- Godmar


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [ANNOUNCE] LaTTe Java Virtual Machine

1999-10-19 Thread Godmar Back

> 
> I said this on comp.compilers and think it may interest some in this
> news group. According to the site, the performance of this VM is
> comparable to Sun's hotspot. It's released under a BSDish license.
> Anyone with more Java VM programming experience cares to take a look at
> it and see how hard would it be to port it to Linux? 
> 

>From what I can tell, it should be easy to port Linux---Sparc/Linux, 
that is.

They basically started with the last BSDed kaffe (0.9.2) and completely
rewrote the engines and the allocator/gc subsystem.  In doing so, they 
sacrificed kaffe's portability layer in order to speed up execution on 
the sparc platform.
(The top of the mark stack in the gc, for instance, is declared as 
void * mark_top asm("g5"); or something similar --- hey, what the heck)

They also optimized their memory allocator for a uniprocessor 
platform by locking out other threads during allocations---this saves
a gc_lock and the contention is can cause and doesn't require them
to provide per-thread allocation arenas.  Not suitable for SMP, but
fair enough.

They also don't implement stack limit checking because of the associated
performance costs, which in my view may make some of their results 
look not as good.  But I haven't read their discussion in their paper
yet.

Latte at this point may be more suited as a research platform (which 
is what it's intended for) than as a usable JVM, given that only a 
subset of 1.1 is implemented.

The codebase is *very* readable and *very well* documented, and easy to 
understand---especially for someone with a kaffe background.

- Godmar


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Functional difference between JDK 1.1.8 and 1.2

1999-10-19 Thread Jacob Nikom

Hi,

What are the functional differences between JDK 1.1.8 (IBM) 
and Blackdown 1.2? Do they have any diferent API?

I know that Swing for 1.1.8 is not a part of the JDK as for 1.2. 
Is Java2D in the 1.1.8?

Thank you,

Jacob Nikom


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Several VM ?

1999-10-19 Thread Kontorotsui


On 19-Oct-99 Nathan Meyers wrote:
>> But is there a way to see when it is a thread and when it is a process? Or
>> the
>> only way is to notice it has the same resident/shared memory?
> I haven't found a way. The closest thing I've found so far is to compare
> the /proc//maps files, which are identical for two threads of the
> same process but unlikely to be identical for different processes.

Ok, not a trivial way. I wonder why a /proc subdirectory regarding threads was
not added. 

---
Andrea "Kontorotsui" Controzzi - MALE Student of Computer Science at 
University of Pisa  -  Italy  -  E-mail: [EMAIL PROTECTED]
My home page: http://www.cli.di.unipi.it/~controzz/intro.html


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Newbie: How do I get dir listings from applets?

1999-10-19 Thread Nathan Meyers

Frank Lümkemann wrote:
> 
> I want to access image files contained in a directory, and I would
> like to scan the whole directory. When I use the appletviewer, the
> following code gives me a list of the files in the dir, but not with
> Netscape. I think the security manager throws an exception, but how
> can I access a directory from an applet then?

You can use the Netscape Capabilities classes to ask the user for
permission.

Details at
http://developer.netscape.com:80/docs/manuals/signedobj/capabilities/contents.htm
.

Nathan


> 
> thank's for your help!
> 
> Frank
> 
>   private void scan_directory() {
> 
> dialog = new SimpleFileDialog(this, "Select a file!");
> dialog.show();
> PrintWriter out = new PrintWriter(System.out, true);
> 
> try {
> 
> File dir = new File(dialog.getDirectory());
> String str = new String(dialog.getFile());
> char c = str.charAt(0);
> 
> setText("Directory: " + dialog.getDirectory());
> 
> for (int i = 0; i < dir.list().length; i ++) {
> setText("File " + i +": " + dir.list()[i]);
> }
> } catch (Exception ev) {
> FileButton.window.dispose();
> out.println("keine datei geladen...(EXC)!");
> 
> }
> }
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a
> subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Several VM ?

1999-10-19 Thread Nathan Meyers

Kontorotsui wrote:
> 
> On 19-Oct-99 Nathan Meyers wrote:
> >> But is there a way to see when it is a thread and when it is a process? Or
> >> the
> >> only way is to notice it has the same resident/shared memory?
> > I haven't found a way. The closest thing I've found so far is to compare
> > the /proc//maps files, which are identical for two threads of the
> > same process but unlikely to be identical for different processes.
> 
> Ok, not a trivial way. I wonder why a /proc subdirectory regarding threads was
> not added.

I'm not convinced threads are fully cooked. I've noticed strange
problems with profiling: the system call times() doesn't accurately
report CPU time for a multi-threaded application, and using the JDK1.2
hprof profiler doesn't appear to charge CPU time to the correct JVM
thread.

Nathan


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Functional difference between JDK 1.1.8 and 1.2

1999-10-19 Thread Nathan Meyers

Jacob Nikom wrote:
> 
> Hi,
> 
> What are the functional differences between JDK 1.1.8 (IBM)
> and Blackdown 1.2? Do they have any diferent API?
> 
> I know that Swing for 1.1.8 is not a part of the JDK as for 1.2.
> Is Java2D in the 1.1.8?

The JDK grew immensely for 1.2 - Java2D is part of that growth. Check
out http://java.sun.com/products/jdk/1.2/docs/relnotes/features.html for
a detailed discussion.

Nathan


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RPMs for Blackdown

1999-10-19 Thread Ian Corner




  Where is the best place to get RPMs for the 
  latest Blackdown JVMs?
   
  Thanks in advance
  Ian


IBM's JDK 1.1.8 on Slack 4.0

1999-10-19 Thread David Shepherd

Anyone know if IBM's new JDK1.1.8 will run on "out-of-the-box" Slackware 4.0?

TIA
Dave


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: password

1999-10-19 Thread Marc Prager

On Tue, 19 Oct 1999, Rogério Garibalde Miranda wrote:
>I need to insert an user and soon later to alter its password in the linux 
>using the java.

I believe the most simple way to add a user is:

  Process process = Runtime.getRuntime()
.exec("/usr/sbin/useradd  user");
   process.waitFor();

and check for the return code of the process.

Changing a password is more difficult, because you cannot pass the password
as a parameter to /bin/passwd. If I knew the system call which does this, I
would suggest using Java Native Interface (JNI) and writing a wrapper method
around the system call. Unfortunately I did not find such a system call, when
executing

# strace passwd marc

But instead I found many open(), write(), close() calls for /etc/shadow*.
(?!?)

I don't know, if you can simulate the user input by using pipes
(process.getOutputStream(), process.getInputStream()). If so, you can use
exec().


--
--
Marc Prager  .--.
asterius GmbH   |o_o |  
Stuttgarter Str. 41 |:_/ |  
75179 Pforzheim//   \ \
  (| | ) 
http://www.asterius.de/  /'\_   _/`\
[EMAIL PROTECTED]   \___)=(___/

07231 1345 310 (Telefon)
07231 1345 518 (BildTelefon)
07231 1345 111 (Fax)
--


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



performance

1999-10-19 Thread 陈峰



hi linux java fan 
 I want to know if the finally will affect the performace 
of the program 
I know that if the catch happen the program will affect the performance 
,but I don't konw the finally will do what 
                
Thanks 
                
    yours simple fan


Re: [ANNOUNCE] LaTTe Java Virtual Machine

1999-10-19 Thread Uncle George

It really presumes u know a lot about how the stack is organized, how
interrupts/signals are processed, and how u can manipulate pages to become
'executable' with the appropriate linkages and such.
It also presumes u know sparc assembler, of which i do not know.

Otherwise for the most part, it does compile once the sparc-thingy's are
ifdef'ed out
gat

Godmar Back wrote:

> >
> > I said this on comp.compilers and think it may interest some in this
> > news group. According to the site, the performance of this VM is
> > comparable to Sun's hotspot. It's released under a BSDish license.
> > Anyone with more Java VM programming experience cares to take a look at
> > it and see how hard would it be to port it to Linux?
> >
>
> >From what I can tell, it should be easy to port Linux---Sparc/Linux,
> that is.
>



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: performance

1999-10-19 Thread Ted Neward




No--don't do that. DON'T convince yourself that 
you need to avoid using a particular language feature "because of its 
impact on performance". Use the language feature, profile the app, THEN 
worry about performance. There are dozens of things you can do to better improve 
app speed (including using something OTHER than Java, like C++ or asm) without 
sacrificing a key part of the Java language (exception handling, that 
is).
 
Get it working, get it right, THEN get it fast. 
--Martin Fowler, "Refactoring"
 
Ted 
NewardPatterns/C++/Java/CORBA/EJB/COM-DCOM spoken herehttp://www.javageeks.com/~tneward "I 
don't even speak for myself; my wife won't let me." --Me

-Original Message-From: 
³Â·å <[EMAIL PROTECTED]>To: 
[EMAIL PROTECTED] 
<[EMAIL PROTECTED]>Date: 
Tuesday, October 19, 1999 8:14 PMSubject: 
performance
hi linux java fan 
 I want to know if the finally will affect the 
performace of the program 
I know that if the catch happen the program will affect the performance 
,but I don't konw the finally will do what 
            
    Thanks 
            
        yours simple 
fan


Re: IBM's JDK 1.1.8 on Slack 4.0

1999-10-19 Thread Wim Ceulemans



David Shepherd wrote:
> 
> Anyone know if IBM's new JDK1.1.8 will run on "out-of-the-box" Slackware 4.0?
> 
> TIA
> Dave
>

I have tried Suse 6.2 and it worked out of the box, although docs stated
that they only testen Redhat and Caldera distributions. You have to have
kernel 2.2.x and glibc 2.1 I believe.

I just quickly tested my app but it seems slower to me than with the
blackdown 117_v3? I also notice differences in size of certain windows,
but I have to explore on that

Regards

Wim Ceulemans
Nice bvba www.nice.be
Eglegemweg 3, 2811 Hombeek Belgium
Tel 0032-15-412953 Fax 0032-15-412954


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Runtime.traceMethodCalls()

1999-10-19 Thread Antonio Moretti

unsubscribe


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]