W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1996

Re: Jigsaw under Kaffe

From: Helge Hess <helge@mdlink.de>
Date: Fri, 02 Aug 1996 13:18:59 +0100
Message-ID: <3201F233.5DBD7743@mdlink.de>
To: www-jigsaw@w3.org
Hi,

I also tried to run Jigsaw with kaffe5p2 on Linux.
After setting some breakpoints, it seems that
the thread-handling of kaffe doesn't work.
Jigsaw stops in the Constructor of
StoreManagerSweeper:

ResourceStoreManager.init():
*	this.sweeper = new StoreManagerSweeper(this) ;
	this.head = new StoreEntry(new File("*head*"), null) ;
	this.tail = new StoreEntry(new File("*tail*"), null) ;
StoreManagerSweeper.init()
-> failure

I placed a System.err.println() in the first line
of this Constructor, but the String doesn't get
printed out.

The bytecode of the constructor looks like this:
   0 aload_0
   1 invokenonvirtual #41 <Method java.lang.Thread.<init>()V>
   4 aload_0
   5 aconst_null
   6 putfield #24 <.....

The first method invoked is the constructor of
java.lang.Thread, this should be the source of
the failure.

I tried another threaded-program to test this:

----------------------------------------------
public class ttest {

  public static void main(String args[]) {
    TestThread t1 = new TestThread();
    TestThread t2 = new TestThread();
    t2.start();
    t1.start();
  }
}

class TestThread extends Thread {
  int cnt = 0;

  TestThread() {
  }

  public void run() {
    while (1 == 1) {
      System.err.println("run "+cnt);
      cnt++;
    }
  }
}
----------------------------------------------

This program also doesn't work.


Bye
 helge (@mdlink.de)
			MDlink
			  online service center
			  http://www.mdlink.de
Received on Friday, 2 August 1996 08:22:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:25 GMT