> The use of 'this' is neither redundant nor allowed here -- the
> methods (recibirPeticion() and enviarPeticion()) are static and
> there is no 'this' in class methods. A 'synchronized static' method
> synchronizes on the class object.
Jeurgen is of course right, sorry I didn't take enough t
> Christopher Hinds writes:
Christopher> [1 ]
Christopher> [1.1 ]
Christopher> The use of "this" is just plain redundant since
Christopher> Cliente.class is by default derived from
Christopher> "java.lang.Object" it is not nessassary to append
Christopher> "this." to
The use of "this" is just plain redundant since Cliente.class
is by
default derived from "java.lang.Object" it is not nessassary to
append "this." to wait() or notify() or any other of the monitor metheds
in this case. Hint : take a look at the core API class hierarchy.
Cheers
Chris
[EMAIL PROTE
On Mon, 14 Dec 1998, Carlos Alberto Roman Zamitiz wrote:
> Hi, I attached my Cliente.java
> I have 2 threads: Receptor and Transmisor. Receptor sends and receives
> data from server, using method recibirPeticion(), forever (well, it sleeps
> 3 seconds). When Transmisor sends data, using method
I Think this was stated before but anyway here goes again. The
Cliente.class is derived from java.lang.Object and every object has a
Monitor. The Monitor for an object "this" can only be accessed
by a synchronized methed(s) of the object , which is this case is
Cliente.class in recibirPeticion() a
On Mon, 14 Dec 1998, Dan Finkelstein wrote:
> Hi-
>
> Sorry if this is the wrong list, but...
It is.
>
> I'm installing Red Hat Linux 5.2 on a Compaq. The ethernet driver, tlan.o,
> for this machine is copied to the file system. But Red Hat's install
> program doesn't list it amongst its dr
Hi,
I'm currrently doing my masters thesis on concurrent paradigms in Java, and
naturally I'm very interested in the fact that the linux port now has native
thread support. Sadly, however, I've only got the jdk 1.1.6 source, and I'm
finding it very difficult to get in touch with someone at sun so
On Mon, 14 Dec 1998 [EMAIL PROTECTED] wrote:
The stuff you outline here depends on your shell: even on Unix it won't
work in all cases without some changes.
Solutions on NT:
1 Get bash and use that to run your java app. Then you can use your
backticks and other funnies. I think you can get it a
Bryce McKinlay <[EMAIL PROTECTED]> writes:
> I was going to send this to Albrecht Kleine (author of TYA), but can't seem to
> resolve his mail address, so I'll post it here. Origional message follows:
>
> --
[error message sniped]
> Environment: - Kernel 2.1.131ac8 - glibc 2.0.7-29 - J
Mario Camou wrote:
> Jason and Mark,
>
> Thanx for your quick replies! Uncommenting the "#define IGNORE_DISABLE" in tya.c did
> it. What I'd like to know (I'm really curious!) is exactly WHAT is trying to turn off
> the JIT. Could it be Swing?
Swing 1.1 tries to disable the JIT during some huge
I don't want to receive any more mail.What can I do to unsubscribe from
this list?
Jason and Mark,
Thanx for your quick replies! Uncommenting the "#define IGNORE_DISABLE" in tya.c did
it. What I'd like to know (I'm really curious!) is exactly WHAT is trying to turn off
the JIT. Could it be Swing?
Also, Mark told me that this had been covered a few days ago in this list. Sorry
Hi-
Sorry if this is the wrong list, but...
I'm installing Red Hat Linux 5.2 on a Compaq. The ethernet driver, tlan.o,
for this machine is copied to the file system. But Red Hat's install
program doesn't list it amongst its drivers from which to select. I have
the file, but don't know how to
On Mon, 14 Dec 1998, Mario Camou wrote:
> I just installed TYA 1.2. My code used to work perfectly with previous versions,
> now I get a thread dump.
>
> There's also a weird "user programm switched off JIT compiling" message.
It appears that the jvm is calling a method that switches off the
ji
I noticed the -O flag of the javac compiler.
What are the optimizations that the javac usually does? Which ones are activated
by the -O flag?
I tried the -O flag in my n-body distributed computing java application, but
the performance was worse than without the -O flag.
---
Andrea "Kontorotsui"
> Mario Camou writes:
Mario> Carlos,
Mario> Your problem is with
Mario> Thread.currentThread().wait()/notifyAll(). Since your
Mario> method is synchronized, you own the monitor for "this", not
No. Since the the methods are 'synchronized' and 'static', he
owns the monitor for
unsubscribe list *
Hi,
I just installed TYA 1.2. My code used to work perfectly with previous versions,
now I get a thread dump.
Intel Pentium
Kernel 2.0.36
JDK 1.1.7v1a
Red Hat 5.1 with all updates applied
There's also a weird "user programm switched off JIT compiling" message.
This behavior is completely repro
Carlos,
Your problem is with Thread.currentThread().wait()/notifyAll(). Since your method is
synchronized, you own the monitor for "this", not the monitor for currentThread()
(every object has its own monitor).
Try removing "Thread.currentThread()." and leaving just the "wait()/notifyAll()"
call
Hi, I attached my Cliente.java
I have 2 threads: Receptor and Transmisor. Receptor sends and receives
data from server, using method recibirPeticion(), forever (well, it sleeps
3 seconds). When Transmisor sends data, using method enviarPeticion(),
Receptor must wait until Transmisor ends his trans
The petition site is back online. Goto
http://www.jguru.com/thetick/visualage/tips/ and chose the "Petition" link at
the end...
JVc.
TYA1.2 ftp://gonzalez.cyberus.ca/pub/Linux/java
Tobias Ramos wrote:
> Hi there people...
>
> Can someone tell me where I can find any Java performance booster for
> linux?
>
> thanx.
>
> Tobias Ramos
> Diamantina MG
> [EMAIL PROTECTED]
Hi there people...
Can someone tell me where I can find any Java performance booster for
linux?
thanx.
Tobias Ramos
Diamantina MG
[EMAIL PROTECTED]
I don't know if I missed something, but it looks like the FAQ has been
updated.
-jj-
--
-BEGIN PGP PUBLIC KEY BLOCK-
Version: 2.3
mQCNAi0lY4sAAAEEAPR4vyny2WCxVe4gW7u+zPT2fH6vFTwMxAoBOrrUn92aGKJr
ronHVYMbSO9CwBK3F1KKi+IGB/SxkjH7x2j/b7HiwHjKb+mkDa+lA6eOh9x8A7dJ
55be0mOMF+W9FLDdIgK/RDLFo
Sorry all, I recievied a eval copy at JavaOne in March of this
year and at that time they where free and very solid in terms
of
performance and reliabilty( even type 4, I never usded their JDBC-ODBC
bridge).
:-<
Cheers
Chris
Rachel Greenham wrote:
On Sat, 12 Dec 1998, Christopher Hinds wrote:
>>T
On Sun, 13 Dec 1998, Leo Cyr wrote:
> If you use HotJava (current is 1.1.5) for some reason ;-) it automatically
> re-downloads the classes/jars specified in the Applet tag. I'm not sure why
> -- I guess it is realted to the browser's cache, but caching of html is
> still on... It just works...
So, do I. But this URL does not respond.
Jacques Chansavang
IBM Global Services
[EMAIL PROTECTED]
Phone: (219)455-6234
>>> Rachel Greenham 12/14 6:34 AM >>>
On Sun, 13 Dec 1998, Jauvane Cavalcante de Oliveira wrote:
>I just received a messge letting me know that the petition asking IBM to
>rele
I asked this question a month ago and did not get a single response. So
I'm assuming one of two possibilities: either Sun has virtually taken over
the porting of Java2 to Linux and the Blackdown developers are being hush
hush about it for some unknown reason, OR, everybody's just too busy and
not
Thanks well I found my copy of jikes which has a `jd.bat' file:
pilgpe@poppy [58] > c jikes-1.11/jd.bat
@echo off
rem Set JD and JDK to match the appropriate installation directories on
your system.
rem
set JD=c:\derek\jbin\jd.zip
set JDK=c:\java\lib\classes.zip
rem
echo on
java -nojit -c
I think a small setup program that generates this default property file
maybe the answer too. I am thinking of a simple JTable name and value.
Am not sure if I follow you.
Do you mean that I should set this in my application. Because then we have
a chicken and egg scenario. I want to use the pr
Try something like this in your NT/95 startup script (smth like this
must work also on linux/bash with changing \ to /, %% to $, del to rm
and doing smth with :s and ;s in multiple paths in environment):
set >%TMP%\env
java -Denv.file=%TMP%\env ...
del %TMP%\env
and then in your code:
Properties
On Sun, 13 Dec 1998, Jauvane Cavalcante de Oliveira wrote:
>I just received a messge letting me know that the petition asking IBM to
>release a version of VAJava is still collecting signatures and will soon
>be forwarded to IBM. So, if you did not sign it already and you would
>like to have suc
On Sat, 12 Dec 1998, Christopher Hinds wrote:
>>Try WebLogic's , they have multiple Type 4 (and Type 2) JDBC Drivers
>for most of production comercial DBMSs
> www.weblogic.com
>
>They may be free , in any event they do offer eval licenses
Not free. We evaluated it with reference to connectin
I am getting some requests from NT users on an application that I wrote on
a Java/Linux environment. I have a Java application that runs fine on Unix
and I am trying to get to run perfectly on NT. I have a run time shell
script that passes the entire environment to the JVM using a system
prope
34 matches
Mail list logo