Re: RMI binding bug

1998-11-18 Thread Matt Welsh
The issue here is that the RMI registy is checking that the client's hostname matches the local hostname on bind() and rebind() calls. In addition the IP addresses are checked for a match. The logic is: InetAddress localhost = InetAddress.getLocalHost(); Class class = Class.f

Re: Java programming env (newbie question)

1998-11-23 Thread Matt Welsh
You probably have Kaffe installed, which is a free Java Virtual Machine replacement. mdw Mike Song <[EMAIL PROTECTED]> writes: > Hello all, > > > I installed RH Linux 5.2 and I found that 'javac', 'java' and > 'appletviewer' > are already there and I am able to compile and run simple java pr

JDK 1.2 bogus license terms

1998-12-07 Thread Matt Welsh
anyone know of a case where a license restricting benchmark-results publication was successfully enforced in court? Or shot down in court? Matt Welsh

Re: [FYI] Java violates US patent?

1998-12-07 Thread Matt Welsh
Ernst de Haan <[EMAIL PROTECTED]> writes: > Found a link to this article on JavaLobby: > > http://www.pbs.org/cringely/pulpit/pulpit19981203.html > > Could turn out bad. Very bad. Unless it turns out that the patent is ill-founded because Java represents "prior art" in terms of the technolog

O'Reilly Linux Conference Call for Presenters

1999-01-12 Thread Matt Welsh
lists to contribute. All of the information is at http://conferences.oreilly.com or by e-mail at [EMAIL PROTECTED] You can e-mail me if you have any questions or need other details. Thanks much! Matt Welsh, [EMAIL PROTECTED] University of California, Berkeley +1 510 643 7566 (voice) --- Annou

Re: Advanced Java books

1999-01-13 Thread Matt Welsh
O'Reilly has a number of good books on things like Java and distributed computing, the Java Virtual Machine, Java Security, and other low-level gritty topics. Not all of these topics are adequately covered in a single book. mdw Richard Jones <[EMAIL PROTECTED]> writes: > > Hi: > > Can someo

Reminder: O'Reilly Linux Conference Deadline

1999-02-09 Thread Matt Welsh
-sponsored by Linux International (Confirm with maddog) Invited Talks Committee Matt Welsh, Chair, University of California, Berkeley Jon "Maddog" Hall, Linux International Andy Oram, O'Reilly & Associates Greg Hankins, Georgia Tech Russ Nelson, Crynwr Software Erik Troan, Red Hat

Re: will there be a jdk 2.x??

1999-02-12 Thread Matt Welsh
I think it would be a terrific idea for the Blackdown web page to have a note explaining the progress of JDK 1.2 (as in "don't ask"). If I get one more message on this list about JDK 1.2 I'm going to explode! mdw Chris Tomlinson <[EMAIL PROTECTED]> writes: > There used to be a note that jdk1.2

Re: Linux jdk 1.,2 Jit

1999-02-24 Thread Matt Welsh
Both TYA and the ShuJIT are free JIT's which work with Linux and JDK 1.1 ... I am assuming that porting them to work with JDK 1.2 will not be (too) difficult. [EMAIL PROTECTED] writes: > Will the linux JDK 1.2 port have a JIT supplied with it, or will we > have to use a program like Kaffe ? >

Re: Don't download JDK1.2src! [Was: Re: JAVA2 source code]

1999-02-26 Thread Matt Welsh
that such a license is non-binding. It may very well be. Matt Welsh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

JDK 1.2 on Linux at Linux World Expo

1999-03-03 Thread Matt Welsh
there how important Sun's support of Linux and Java is to you. Believe me, making noises at this level will permit something to propagate to higher-ups. Matt Welsh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a sub

Re: Java 2 initial impressions

1999-03-05 Thread Matt Welsh
Russ Pridemore <[EMAIL PROTECTED]> writes: > - RMI seems to have stopped working. I was able, with 1.1.7, > to run the Swing GUI on a NT machine, talking to the > the rest of the java application on Linux via RMI. The > Sun JDK on NT now complains: > java.rmi.Con

Re: Status updates [Was: Re: ...]

1999-04-21 Thread Matt Welsh
ckdown port is going on inside of a black box makes it difficult for people to know what's going on. When things move at "Internet speed", keeping us posted is that much more important. Thanks much! Matt Welsh --

Re: Reading from Socket doesn't work?

1999-04-29 Thread Matt Welsh
Apart from the liklihood that there's something wrong in your program, you could try upgrading to a new version of the Linux JDK (1.1.7v1 is the latest in the 1.1 series). Socket reads/writes have always worked for me under Linux. Michael Durket <[EMAIL PROTECTED]> writes: > I'm sure this is a

Re: Sun Bashing 2

1999-04-29 Thread Matt Welsh
I usually can't stand flame bait like this but I wanted to point out one thing. Sun has clearly recognized some of the advantages of the Open Source model, which is the entire reason why they have adopted the 'Sun Community Source License' for a large number of their products -- including the JD

Re: Sun Bashing 2

1999-04-30 Thread Matt Welsh
Maksim Lin <[EMAIL PROTECTED]> writes: > This I'm afraid makes no sense to me. How does one splinter java by > standardising it ? I'm not saying that I agree with this, either --- I'm only conveying what I believe to be Sun's motivations for maintaining control over Java. mdw -

JDK 1.1.7v1 and glibc 2.1.1

1999-05-03 Thread Matt Welsh
Red Hat 6.0 comes with glibc 2.1.1. When attempting to run 'java' from the Blackdown jdk 1.1.7v1 release, we get the error message: /tmp/m/jdk1.1.7v1/bin/../bin/i686/green_threads/java: error in loading shared libraries: /tmp/m/jdk1.1.7v1/bin/../lib/i686/green_threads/libjava.so: undefined sym

JavaGrande

1999-06-12 Thread Matt Welsh
Hi Java Linuxers, JavaGrande (the ACM Conference on Java for High Performance Network Computing) is in San Francisco today and tomorrow -- see http://www.cs.ucsb.edu/conferences/java99/ for details. I'll be giving a dinner talk tonight on my system for enabling high-performance communication

Arithmetic bug in Linux JDK 1.1.7v3

1999-06-23 Thread Matt Welsh
and tweak the stack with the right value.) The IBM JDK 1.1.6 works correctly in this case. Matt Welsh, [EMAIL PROTECTED] -- public class divtest { public static int divfunc(int x, int y) { return x/y; } public static void main(String args[]) { int i = 0x8000

Re: Debugging Native code on Linux

1999-07-28 Thread Matt Welsh
No, 'dbx' is a debugger similar to 'gdb'. It's not a Java debugger like jdb. Under Linux, try using gdb and running the 'debug' version of the JVM (e.g., 'java_g' rather than 'java'). My .gdbinit has the following: set env THREADS_TYPE=green_threads set env JAVA_HOME /home/cs/mdw/src/java

Re: Debugging Native code on Linux II

1999-07-28 Thread Matt Welsh
x27;load' command to force the symbols for your shared object to be loaded into gdb, allowing you to set breakpoints. Matt Welsh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Bad sync problem??

1999-08-05 Thread Matt Welsh
example program which The fact that you haven't seen this problem under Solaris or WinNT isn't a good argument for a bug in the Linux JDK; these things may be cropping up due to race conditions, or else differing (but correct!) implementations of the threading system. Matt Welsh "R.W.

Re: Windows'98 / Linux disparity.

1999-08-13 Thread Matt Welsh
First off, you have to be running a JIT compiler of some sort -- the standard release of JDK 1.1.7 for Linux does not include a JIT. There are several available (such as ShuJIT and TYA). Amlan Saha <[EMAIL PROTECTED]> writes: > Hi people > > I tried the Java benchmark "Caffeine Mark 3.0" on b

Re: Help Support Blackdown

1999-08-16 Thread Matt Welsh
are ineligible for support by projects like SourceXchange. I doubt that most people would consider the Sun Community Source License to be Open Source, either. What we really should be doing is lobbying Sun (or other vendors, like IBM) to release their Java implementatio

Bug in v1.1.7_v3 Native Threads?

1999-08-25 Thread Matt Welsh
ds which are all sleeping. On JDK1.2 and the IBM JDK 1.1.6 this program works correctly, with two running 'java' kernel threads. Could this be a problem with glibc 2.1, or something similar? The program is appended below. Compile and run it with: $ javac TestT.java $ jav

Building JDK 1.2.2 on Linux ?

1999-08-26 Thread Matt Welsh
h set against 1.2.2 sometime very soon (I hope!) Cheers, Matt Welsh, [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Building JDK 1.2.2 on Linux ?

1999-08-27 Thread Matt Welsh
Chris Woods <[EMAIL PROTECTED]> writes: > Excellent! I went that route a couple weeks ago myself, but didn't have > the time to try to make the patches go. If you don't mind, if for > whatever reason you're not able to get the patches up on the > distribution site, would you mind making them avai

Re: Bug in v1.1.7_v3 Native Threads?

1999-08-30 Thread Matt Welsh
hope I can start to debug myself now... Matt Welsh, UC Berkeley -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: native threads broken on jdk1.2pre-v2 under SMP

1999-08-31 Thread Matt Welsh
d tell me that he has made some fixes to socket support in the JDK1.2 native VM which may fix these problems; this has not yet been released, though, so I anxiously await the patch! Cheers, Matt Welsh -- To UNSUBSCRIBE, email to [

Re: native threads, SIGSTOP, and Invocation API

1999-09-08 Thread Matt Welsh
GC thread, say, you need to be tracing that particular thread; the "info threads" and "thread" command give you a list of threads and allow you to attach to a particular one, respectively. Hopefully this will help you to discover what's

Why is Linux thread locking so slow?

1999-10-08 Thread Matt Welsh
contended case, as we would expect. Native Threads are the culprit. Both programs are appended below. Can someone shed some light on why contended locks on Linux perform so poorly? Thanks! Matt Welsh, UC Berkeley --- /* TestLock.java * Compile with: gcj -O2 -o TestLock --main=TestLock TestLock.jav

Re: Why is Linux thread locking so slow?

1999-10-08 Thread Matt Welsh
hanks for the help. Matt Welsh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: ddd as a java debugger

1999-10-13 Thread Matt Welsh
h GDB. This is amazingly useful: you can debug a Java program with native methods all within the same debugging environment, examine the C->Java stack trace, debug programs which use multiple (native) threads, and so forth. Matt Welsh, UC Berkeley --

Re: Const in java

1999-10-13 Thread Matt Welsh
Robert, Since most of your questions are general Java questions and have nothing to do with the Linux port of the JDK, can you please direct them elsewhere? The USENET group comp.lang.java.programmer is probably a good place to ask. Thank you, Matt Welsh, UC Berkeley "Robert Simmons&quo

Re: reminder - this list is for Java & Linux

1999-10-15 Thread Matt Welsh
iling lists I'm on and you have a problem. I'd prefer that the list remain limited primarily to Linux-based Java questions. A good way to limit traffic is not to reply to the entire list when someone asks an off-topic (e.g., generic Java) question.

Re: JDBC for mysql?

1999-10-15 Thread Matt Welsh
There is an interface called "mm.mysql.jdbc" at http://www.worldserver.com/mm.mysql/ I've used it and it works well. Matt Welsh, UC Berkeley Brian Gilman <[EMAIL PROTECTED]> writes: > Hello all! > > although this is not *exactly* a java Linux ques

Re: Benchmark results for Linux JVMs (formatted for 70 columns)

1999-10-21 Thread Matt Welsh
compilers probably expect that the bytecode they're compiling is *not* pre-treated by a tool such as JOpt, which would make it harder for them to do certain optimizations. So it's possible that JOpt could actually slow thing

Re: Urgently Looking for RMIRegistry Implementation

1999-10-22 Thread Matt Welsh
You could borrow the implementation from NinjaRMI, a free "RMI like" package from: http://www.cs.berkeley.edu/~mdw/proj/ninja I think it should be easy to adapt the NinjaRMI Registry implementation to work with Sun RMI. Cheers,

Re: Compiling shared objects for JNI

1999-01-02 Thread Matt Welsh
> libhwrld.so: HelloWorld.C HelloWorld.h > g++ $(CXXFLAGS) $< -o $@ This isn't the right way to generate a .so file. You need to use the -shared switch on gcc (I presume this is also supported by g++, but you can use gcc to transform a g++-generated .o file into a .so).

Open up the JDK porting effort already!

1999-12-07 Thread Matt Welsh
ply jump ship and move over to using IBM's JDKs. I know many already have. Matt Welsh, UC Berkeley -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Native vs. green threads

1999-12-07 Thread Matt Welsh
[EMAIL PROTECTED] (Nelson Minar) writes: > > However, I disagree that native threads are required for serious > applications. Green threads work surprisingly well for many > applications. In some, they work better. I recently wrote a spider > program that was invoking another program in a subpro

Re: VMs with processor specific code generation

2000-02-02 Thread Matt Welsh
ibuted to much of the performance imbalance between Java and, say, C. There are a lot of other more critical performance problems to solve first. Matt Welsh, [EMAIL PROTECTED] UC Berkeley -- To UNSUBSCRIBE, email to [EMAIL

Re: SMP ok?

2000-04-02 Thread Matt Welsh
s are not so complex. The only way we've been able to achieve stability is to use Sun JDK 1.1.7v3 with green threads, which clearly defeats the purpose of using SMP systems. Caveat emptor. Matt Welsh, UC Berkeley -- To UNSU

Re: high performance I/O?

2000-05-09 Thread Matt Welsh
a very interesting space to work in right now. Demanding I/O applications place a lot of new demands on Java (and operating systems as well). I would be interested in having more discussion with people on this list about their experiences! Cheers- Matt Welsh, [EMAIL PROTECTED] -

Re: high performance I/O?

2000-05-13 Thread Matt Welsh
Miles Sabin <[EMAIL PROTECTED]> writes: > Agreed. One big headache is the fact that asynchronous IO > (POSIX or otherwise) is typically going to require that buffers > be at fixed addresses, ... > I guess that in principle it ought to be possible to tweak > JVMs to special-case a priviledged clas

Re: high performance I/O?

2000-05-10 Thread Matt Welsh
Christopher Smith <[EMAIL PROTECTED]> writes: > > Matt Welsh wrote, > > I guess that in principle it ought to be possible to tweak > > JVMs to special-case a priviledged class of byte[]s to allow > > them to be pinned for an extended interval without completely &

Re: JavaOne?

2000-05-24 Thread Matt Welsh
[EMAIL PROTECTED] (Nelson Minar) writes: > Are many Linux/Java folks coming to JavaOne? I'll be there. I am also interested in meeting people who may be coming to JavaGrande (which is held in SF just before JavaOne). If there is enough interest, we should plan an informal Linux/Java BOF somet

Re: JavaOne - no green threads for Linux

2000-06-09 Thread Matt Welsh
Also, if you really want this to work, you need to inform the user-level thread scheduler whenever a kernel thread might block - such as during a page fault. While something like scheduler activations addresses this, it's not easy to build. Matt W

Re: JavaOne - no green threads for Linux

2000-06-09 Thread Matt Welsh
s to Java). It is slated for JDK version 1.4. This is the earliest it can be done, since 1.3 is already out! Matt Welsh, UC Berkeley -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: JavaOne - no green threads for Linux

2000-06-09 Thread Matt Welsh
core to our model. Anyway, I'd be interested to hear any comments about this if you get a chance to check it out. Matt Welsh, UC Berkeley -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: JavaOne - no green threads for Linux

2000-06-11 Thread Matt Welsh
ly. I thought that Sun's RMI did fairly aggressive thread and socket sharing. NinjaRMI didn't do this because it complicated the design and made it hard to do pluggable transport layers. Matt Welsh http://www.cs.berkeley.edu/~mdw ---

Why nonblocking I/O in Java is hard

2000-06-11 Thread Matt Welsh
ur standard C library happens to be installed), and call them directly. The good news is that it seems to work. Note that when native threads are used, the JDK does not attempt any funny business, and there are no problems. Matt Welsh, UC Berkeley --

Re: Why nonblocking I/O in Java is hard

2000-06-11 Thread Matt Welsh
lect() and nonblocking I/O internally, they don't seem to scale -- exactly why, I don't know -- probably because of things like scheduler overhead. Matt Welsh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] wit

Re: Why nonblocking I/O in Java is hard

2000-06-12 Thread Matt Welsh
Juergen Kreileder <[EMAIL PROTECTED]> writes: > >>>>> "Matt" == Matt Welsh <[EMAIL PROTECTED]> writes: > > Matt> Turns out this is not as easy as it could be -- because even > Matt> though you call system calls like read(), write

Re: JavaOne - no green threads for Linux

2000-06-12 Thread Matt Welsh
re doing in a 2-tier implementation is somehow exposing those events to the user in a very coarse-grained and expensive way (e.g., using signals). In the end your user-level scheduler does all of the same work and knows about the same things as the kernel scheduler; why not just optimize kernel threads and be

Re: JavaOne - no green threads for Linux

2000-06-12 Thread Matt Welsh
ares about, regardless of whether programmers "should be" implementing things that way. Matt Welsh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: JavaOne - no green threads for Linux

2000-06-12 Thread Matt Welsh
Java. We (the expert group for JSR 51) is currently doing (b). I am proposing that (a) is useful as well. Matt Welsh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

C# -- the Java killer?

2000-06-26 Thread Matt Welsh
roblems with it. The language spec is very preliminary and leaves out a lot of details, such as what threads and locks actually do, what the memory model is, etc. As we all learned from Java, these seemingly minor details end up being very important down the line... Matt Welsh, [EMAIL PROTECTED] http://www.cs.berkeley.edu/~mdw -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Request: No more generic Java questions

2000-12-08 Thread Matt Welsh
t almost ineffective for discussions about Java on Linux. If we can throttle those discussions I think the list would clear up and be more effective for its original purpose. Thanks. Matt Welsh, UC Berkeley -- To UNSUBSCR

Re: Request: No more generic Java questions

2000-12-09 Thread Matt Welsh
for people not to send replies to these "generic" questions to the entire list; we don't need to see those responses since they aren't relevant. Matt Welsh -- To UNSUBSCRIBE, email to [EMAIL PROTECTE