[4997] in java-interest
Re: Thread problem still exists in JDK 1.0 on NT
daemon@ATHENA.MIT.EDU (Vania Joloboff)
Thu Jan 25 13:01:03 1996
To: Bob Beck <rbk@ibeam.jf.intel.com>
Cc: java-interest@java.sun.com, java-bugs@java.sun.com
In-Reply-To: Your message of "Wed, 24 Jan 1996 17:45:53 PST."
<2.2.32.19960125014553.0073423c@ibeam.jf.intel.com>
Date: Thu, 25 Jan 1996 17:20:30 +0100
From: "Vania Joloboff" <vania@gr.osf.org>
> I've reported this problem every release since Alpha3, and it still exists.
> The attached code hangs typically within a few 100 thread creations. I've
> seen it hang at 16 iterations, and get as far as a few 1000, but it always
> hangs. This is on NT 3.51.
> public class T16 implements Runnable
> {
> public static void main(String args[])
> {
> T16 inst = new T16();
> for (int i = 0; ; i++) {
> Thread t = new Thread(inst, ""+i);
> t.start();
> try {
> t.join();
> } catch (Exception e) {
> System.out.println("Thread join interrupted??");
> }
> }
> }
> public void run()
> {
> System.out.println(Thread.currentThread().getName());
> //try { Thread.sleep(20); } catch (Exception e) { /*NOP*/ }
> }
> }
>
We have been running this code since several hours on our Java port
to HP-UX. It has passed 1 Million iterations without failure.
More info on our ports at http://www.osf.org/mall/web :-)
Vania
========================================================================
Vania Joloboff Phone: +33 7 663 4892
OSF Fax: +33 7 651 0532
2, Avenue de Vignate
38610 Gieres - France e-mail: vania@gr.osf.org
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com